[41704] trunk/dports/audio/qtplay/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Nov 9 02:16:07 PST 2008
Revision: 41704
http://trac.macports.org/changeset/41704
Author: ryandesign at macports.org
Date: 2008-11-09 02:16:06 -0800 (Sun, 09 Nov 2008)
Log Message:
-----------
qtplay: fix build on Panther
Modified Paths:
--------------
trunk/dports/audio/qtplay/Portfile
Modified: trunk/dports/audio/qtplay/Portfile
===================================================================
--- trunk/dports/audio/qtplay/Portfile 2008-11-09 09:42:33 UTC (rev 41703)
+++ trunk/dports/audio/qtplay/Portfile 2008-11-09 10:16:06 UTC (rev 41704)
@@ -26,10 +26,10 @@
file delete ${workpath}/${name}
}
use_configure no
+
+set my_ldflags "-framework Carbon -framework QuickTime"
build {
- system "cd ${workpath} &&
- gcc -o ${name} \
- -framework Carbon -framework QuickTime ${name}.c"
+ system "cd ${workpath} && gcc -o ${name} ${my_ldflags} ${name}.c"
}
destroot {
@@ -39,3 +39,6 @@
${destroot}${prefix}/share/man/man1
}
+platform darwin 7 {
+ set my_ldflags "${my_ldflags} -lc /usr/lib/libgcc_s.1.dylib"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081109/1909080d/attachment.html>
More information about the macports-changes
mailing list