summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-01 22:54:58 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-01 22:54:58 +0000
commitcbcaa81a224b63369aad231faa479d0f365123ae (patch)
treeb5b1cb924ef52a41ae6e0e4e20e1e6c2f6a069c4 /sys-devel/m4/files
parentarm love (diff)
downloadhistorical-cbcaa81a224b63369aad231faa479d0f365123ae.tar.gz
historical-cbcaa81a224b63369aad231faa479d0f365123ae.tar.bz2
historical-cbcaa81a224b63369aad231faa479d0f365123ae.zip
touchup autotools so we can use DESTDIR to install
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-devel/m4/files')
-rw-r--r--sys-devel/m4/files/m4-1.4.3-autotools.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-devel/m4/files/m4-1.4.3-autotools.patch b/sys-devel/m4/files/m4-1.4.3-autotools.patch
new file mode 100644
index 000000000000..9ada27360395
--- /dev/null
+++ b/sys-devel/m4/files/m4-1.4.3-autotools.patch
@@ -0,0 +1,38 @@
+Use configure options rather than hard coding in Makefiles
+
+--- m4-1.4.3/doc/Makefile.in
++++ m4-1.4.3/doc/Makefile.in
+@@ -27,8 +27,7 @@
+ MAKEINFO = makeinfo
+ TEXI2DVI = texi2dvi
+
+-prefix = @prefix@
+-infodir = $(prefix)/info
++infodir = @infodir@
+
+ .SUFFIXES:
+
+--- m4-1.4.3/Makefile.in
++++ m4-1.4.3/Makefile.in
+@@ -40,8 +40,8 @@
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+-bindir = $(exec_prefix)/bin
+-infodir = $(prefix)/info
++bindir = @bindir@
++infodir = @infodir@
+
+ MDEFINES = CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \
+ prefix='$(prefix)' exec_prefix='$(exec_prefix)' \
+--- m4-1.4.3/src/Makefile.in
++++ m4-1.4.3/src/Makefile.in
+@@ -35,7 +35,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ transform = @program_transform_name@
+-bindir = $(exec_prefix)/bin
++bindir = @bindir@
+
+ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+ LINK = $(CC) $(LDFLAGS) -o $@