diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-14 01:45:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-14 01:45:08 +0000 |
commit | 3ff73541e50409c4e1de6950b986de4db15581ad (patch) | |
tree | f37c88e2461b0b779b05918017959d93aef702ed /sys-apps/man/files | |
parent | 0.2.0 final :) (Manifest recommit) (diff) | |
download | gentoo-2-3ff73541e50409c4e1de6950b986de4db15581ad.tar.gz gentoo-2-3ff73541e50409c4e1de6950b986de4db15581ad.tar.bz2 gentoo-2-3ff73541e50409c4e1de6950b986de4db15581ad.zip |
better cross-compile patch
Diffstat (limited to 'sys-apps/man/files')
-rw-r--r-- | sys-apps/man/files/man-1.5m-cross-compile.patch | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/sys-apps/man/files/man-1.5m-cross-compile.patch b/sys-apps/man/files/man-1.5m-cross-compile.patch index bd498ae26147..a86a61d02dc0 100644 --- a/sys-apps/man/files/man-1.5m-cross-compile.patch +++ b/sys-apps/man/files/man-1.5m-cross-compile.patch @@ -1,6 +1,36 @@ ---- man-1.5m2/src/Makefile.in.orig 2004-12-13 14:10:10.234084393 -0500 -+++ man-1.5m2/src/Makefile.in 2004-12-13 14:10:32.624709119 -0500 -@@ -37,4 +37,7 @@ +diff -ur man-1.5o1.orig/configure man-1.5o1/configure +--- man-1.5o1.orig/configure 2004-12-13 20:39:38.711558600 -0500 ++++ man-1.5o1/configure 2004-12-13 20:40:42.946793360 -0500 +@@ -211,6 +211,7 @@ + fi + + CC=${CC-cc} ++BUILD_CC=${BUILD_CC-${CC}} + INSTALL=${INSTALL-install} + INCLUDEDIR=${INCLUDEDIR-/usr/include} + +@@ -1265,6 +1266,7 @@ + sed -e ' + s,@version@,$version, + s,@CC@,$CC, ++s,@BUILD_CC@,$BUILD_CC, + s,@INSTALL@,$INSTALL, + s,@DEFS@,$DEFS, + s,@LIBS@,$LIBS, +diff -ur man-1.5o1.orig/src/Makefile.in man-1.5o1/src/Makefile.in +--- man-1.5o1.orig/src/Makefile.in 2004-12-13 20:39:38.721557080 -0500 ++++ man-1.5o1/src/Makefile.in 2004-12-13 20:40:15.417978376 -0500 +@@ -12,6 +12,7 @@ + # use of catalogs - aeb, June 1994 + + CC = @CC@ ++BUILD_CC = @BUILD_CC@ + INSTALL = @INSTALL@ + + pager = @pager@ +@@ -36,6 +37,9 @@ + man: $(MANOBJS) $(LIBOBJS) + $(CC) $(LDFLAGS) -o man $(MANOBJS) $(LIBOBJS) $(LIBS) +makemsg: + $(BUILD_CC) -o makemsg makemsg.c |