[112002] trunk/dports/net/junkbuster/Portfile
jmr at macports.org
jmr at macports.org
Tue Oct 8 20:07:06 PDT 2013
Revision: 112002
https://trac.macports.org/changeset/112002
Author: jmr at macports.org
Date: 2013-10-08 20:07:06 -0700 (Tue, 08 Oct 2013)
Log Message:
-----------
junkbuster: remove dependency on deleted apple-gcc33 port, simplify compiler selection
Modified Paths:
--------------
trunk/dports/net/junkbuster/Portfile
Modified: trunk/dports/net/junkbuster/Portfile
===================================================================
--- trunk/dports/net/junkbuster/Portfile 2013-10-09 02:55:32 UTC (rev 112001)
+++ trunk/dports/net/junkbuster/Portfile 2013-10-09 03:07:06 UTC (rev 112002)
@@ -35,6 +35,9 @@
startupitem.name junkbuster
startupitem.executable ${prefix}/sbin/junkbuster
+platform darwin powerpc {
+ configure.compiler gcc-3.3
+}
pre-patch {
foreach file [glob ${worksrcpath}/*.ini] { reinplace "s%\r%%g" $file }
@@ -57,6 +60,7 @@
patch-win32.c
post-patch {
reinplace "s%__PREFIX%${prefix}%g" ${worksrcpath}/junkbstr.ini
+ reinplace "s|^CC.*|CC=${configure.cc}|g" ${worksrcpath}/Makefile
}
use_configure no
@@ -112,21 +116,3 @@
}
}
}
-
-platform darwin 8 powerpc {
- post-patch { reinplace "s|^CC.*|CC=/usr/bin/gcc-3.3|g" ${worksrcpath}/Makefile }
-}
-
-platform darwin 8 i386 {
- depends_build-append port:apple-gcc33
- post-patch { reinplace "s|^CC.*|CC=${prefix}/bin/gcc-apple-3.3|g" ${worksrcpath}/Makefile }
-}
-
-platform darwin 9 powerpc {
- post-patch { reinplace "s|^CC.*|CC=/usr/bin/gcc-3.3|g" ${worksrcpath}/Makefile }
-}
-
-platform darwin 9 i386 {
- depends_build-append port:apple-gcc33
- post-patch { reinplace "s|^CC.*|CC=${prefix}/bin/gcc-apple-3.3|g" ${worksrcpath}/Makefile }
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131008/e7c36959/attachment.html>
More information about the macports-changes
mailing list