diff options
author | Matt Turner <mattst88@gentoo.org> | 2011-08-14 23:35:13 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2011-08-14 23:35:13 +0000 |
commit | 9efde12547fd4e084b133f769a7b0c6b7610556f (patch) | |
tree | 1ccf00f2a34afe990a009d58d065839ce5603bf2 /app-arch/lbzip2/files | |
parent | drop amd64 (bug #375497) (diff) | |
download | gentoo-2-9efde12547fd4e084b133f769a7b0c6b7610556f.tar.gz gentoo-2-9efde12547fd4e084b133f769a7b0c6b7610556f.tar.bz2 gentoo-2-9efde12547fd4e084b133f769a7b0c6b7610556f.zip |
Don't use lfs.sh from test.sh. Should help BSD.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/lbzip2/files')
-rw-r--r-- | app-arch/lbzip2/files/0.23-test.sh.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-arch/lbzip2/files/0.23-test.sh.patch b/app-arch/lbzip2/files/0.23-test.sh.patch new file mode 100644 index 000000000000..f6ed68a4e1ad --- /dev/null +++ b/app-arch/lbzip2/files/0.23-test.sh.patch @@ -0,0 +1,19 @@ +Only in lbzip2: .lfs.sh.swp +diff -u lbzip2.orig//test.sh lbzip2/test.sh +--- lbzip2.orig//test.sh 2009-11-26 22:38:44.000000000 -0500 ++++ lbzip2/test.sh 2011-08-14 19:28:31.746454047 -0400 +@@ -99,12 +99,8 @@ + } + EOT + +- T_CFLAGS="$(set CFLAGS; set +e; . "$OLDPWD"/lfs.sh)" +- T_LDFLAGS="$(set LDFLAGS; set +e; . "$OLDPWD"/lfs.sh)" +- T_LIBS="$(set LIBS; set +e; . "$OLDPWD"/lfs.sh)" +- +- $C_CC1 $T_CFLAGS -D _XOPEN_SOURCE=500 $C_CC2 -o scratch/nullfmt -s \ +- $T_LDFLAGS scratch/nullfmt.c $T_LIBS ++ $C_CC1 $CFLAGS $C_CC2 -o scratch/nullfmt -s \ ++ $LDFLAGS scratch/nullfmt.c $LIBS + C_NULLFMT="$(scratch/nullfmt)" + fi + readonly C_NULLFMT |