[21807] trunk/dports/archivers/bzip2/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 8 13:16:34 PST 2007


Revision: 21807
          http://trac.macosforge.org/projects/macports/changeset/21807
Author:   blair at macports.org
Date:     2007-02-08 13:16:34 -0800 (Thu, 08 Feb 2007)

Log Message:
-----------
Fix the build of bzip2 on 10.3.  Without setting DYLD_LIBRARY_PATH to
the build directory, you get these compile errors:

gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzip2recover.c
gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64  -o bzip2recover bzip2recover.o
Doing 6 tests (3 compress, 3 uncompress) ...
If there's a problem, things might stop at this point.

./bzip2 -1  < sample1.ref > sample1.rb2
dyld: ./bzip2 can't open library: /bztmp/MacPorts/lib/libbz2.1.0.dylib  (No such file or directory, errno = 2)
make: *** [test] Error 133

Warning: the following items did not execute (for bzip2): com.apple.test com.apple.build
Error: Status 1 encountered during processing.

Modified Paths:
--------------
    trunk/dports/archivers/bzip2/Portfile

Modified: trunk/dports/archivers/bzip2/Portfile
===================================================================
--- trunk/dports/archivers/bzip2/Portfile	2007-02-08 20:40:16 UTC (rev 21806)
+++ trunk/dports/archivers/bzip2/Portfile	2007-02-08 21:16:34 UTC (rev 21807)
@@ -24,6 +24,10 @@
 #	patchfiles-append		patch-Makefile-so.diff
 #}
 
+platform darwin 7 {
+	build.env			DYLD_LIBRARY_PATH="${worksrcpath}"
+}
+
 use_configure		no
 build.args		PREFIX="${prefix}"
 destroot.destdir	PREFIX="${destroot}/${prefix}"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070208/373195ef/attachment.html


More information about the macports-changes mailing list