[27938] trunk/dports/devel/libcompat/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Thu Aug 16 05:06:19 PDT 2007
Revision: 27938
http://trac.macosforge.org/projects/macports/changeset/27938
Author: afb at macports.org
Date: 2007-08-16 05:06:18 -0700 (Thu, 16 Aug 2007)
Log Message:
-----------
check for BSD tsort, closes #12373
Modified Paths:
--------------
trunk/dports/devel/libcompat/Portfile
Modified: trunk/dports/devel/libcompat/Portfile
===================================================================
--- trunk/dports/devel/libcompat/Portfile 2007-08-16 11:39:30 UTC (rev 27937)
+++ trunk/dports/devel/libcompat/Portfile 2007-08-16 12:06:18 UTC (rev 27938)
@@ -17,6 +17,13 @@
patchfiles patch-Makefile
build.env LDADD="-install_name ${prefix}/lib/libcompat.1.dylib"
+pre-build {
+ # You need BSD tsort (/usr/bin), not GNU tsort (from GNU coreutils)
+ # see Bug: http://trac.macports.org/projects/macports/ticket/12373
+ system "COREUTILS=`tsort --version 2>/dev/null | grep coreutils`; \
+ if \[ \"x\$COREUTILS\" != \"x\" \]; then echo \$COREUTILS; exit 1; fi"
+}
+
destroot {
file copy ${worksrcpath}/libcompat.1.dylib ${destroot}${prefix}/lib
system "cd ${worksrcpath} && ln -sf libcompat.1.dylib \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070816/eea2df15/attachment.html
More information about the macports-changes
mailing list