[50262] trunk/dports/net/dhcp/Portfile

jmr at macports.org jmr at macports.org
Tue Apr 28 10:46:57 PDT 2009


Revision: 50262
          http://trac.macports.org/changeset/50262
Author:   jmr at macports.org
Date:     2009-04-28 10:46:57 -0700 (Tue, 28 Apr 2009)
Log Message:
-----------
dhcp: use configure.cc

Modified Paths:
--------------
    trunk/dports/net/dhcp/Portfile

Modified: trunk/dports/net/dhcp/Portfile
===================================================================
--- trunk/dports/net/dhcp/Portfile	2009-04-28 16:55:47 UTC (rev 50261)
+++ trunk/dports/net/dhcp/Portfile	2009-04-28 17:46:57 UTC (rev 50262)
@@ -32,6 +32,7 @@
 post-patch {
 	file copy -force ${filespath}/site.conf ${worksrcpath}
 	reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/site.conf
+	reinplace "s|CC = gcc|CC = ${configure.cc}|g" ${worksrcpath}/site.conf
 }
 
 configure.pre_args
@@ -50,8 +51,6 @@
 		${etc}/dhclient.conf.sample
 }
 
-platform darwin 8 { build.args	CC=/usr/bin/gcc-4.0 }
-
 post-activate {
                 ui_msg "\n
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090428/23a80ab3/attachment-0001.html>


More information about the macports-changes mailing list