summarylogtreecommitdiffstats
path: root/624078.patch
blob: a96cb87eea8ab712d659bf48572779aaeef3c1b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
diff -Nru genders-1.21.orig/configure.ac genders-1.21/configure.ac
--- genders-1.21.orig/configure.ac	2013-01-28 18:03:04.000000000 -0600
+++ genders-1.21/configure.ac	2014-07-05 18:11:02.314411959 -0500
@@ -72,6 +72,7 @@
 # Checks for programs.
 ##
 AC_PROG_CC
+AM_PROG_CC_C_O
 AC_PROG_CXX
 AC_PROG_LIBTOOL
 AC_PROG_MAKE_SET
diff -Nru genders-1.21.orig/Makefile.am genders-1.21/Makefile.am
--- genders-1.21.orig/Makefile.am	2013-01-28 18:03:04.000000000 -0600
+++ genders-1.21/Makefile.am	2014-07-05 18:11:02.314411959 -0500
@@ -6,6 +6,8 @@
 
 DISTCHECK_CONFIGURE_FLAGS = --with-perl-destdir=$$dc_install_base
 
+ACLOCAL_AMFLAGS = -I config --install
+
 SUBDIRS = \
         src \
         compat \
diff -Nru genders-1.21.orig/src/extensions/perl/Genders/Makefile.am genders-1.21/src/extensions/perl/Genders/Makefile.am
--- genders-1.21.orig/src/extensions/perl/Genders/Makefile.am	2013-01-28 18:02:57.000000000 -0600
+++ genders-1.21/src/extensions/perl/Genders/Makefile.am	2014-07-05 18:11:02.314411959 -0500
@@ -15,7 +15,7 @@
 
 Genders.$(PERLMAN3EXT):
 # Hacks to make distcheck work
-	if ! test -a Genders.pm; then \
+	if ! test -e Genders.pm; then \
 		cp $(srcdir)/Genders.pm .; \
 	fi
 	$(POD2MAN) Genders.pm Genders.$(PERLMAN3EXT)
diff -Nru genders-1.21.orig/src/extensions/perl/Libgenders/Makefile.am genders-1.21/src/extensions/perl/Libgenders/Makefile.am
--- genders-1.21.orig/src/extensions/perl/Libgenders/Makefile.am	2013-01-28 18:02:58.000000000 -0600
+++ genders-1.21/src/extensions/perl/Libgenders/Makefile.am	2014-07-05 18:11:02.314411959 -0500
@@ -32,16 +32,16 @@
 
 Makefile.xs: Makefile.PL Libgenders.xs Libgenders.pm
 # Hacks to make distcheck work
-	if ! test -a Makefile.PL; then \
+	if ! test -e Makefile.PL; then \
 		cp $(srcdir)/Makefile.PL .; \
 	fi
-	if ! test -a typemap; then \
+	if ! test -e typemap; then \
 		cp $(srcdir)/typemap .; \
 	fi
-	if ! test -a Libgenders.pm; then \
+	if ! test -e Libgenders.pm; then \
 		cp $(srcdir)/Libgenders.pm .; \
 	fi
-	if ! test -a Libgenders.xs; then \
+	if ! test -e Libgenders.xs; then \
 		cp $(srcdir)/Libgenders.xs .; \
 	fi
 	$(PERL) Makefile.PL $(MAKEMAKERFLAGS)
@@ -62,7 +62,7 @@
 	$(MAKE) -f Makefile.xs uninstall
 
 clean: 
-	if test -a Makefile.xs; then \
+	if test -e Makefile.xs; then \
 		$(MAKE) -f Makefile.xs clean; \
 	fi
 	rm -f *.c