[27269] trunk/dports/net/argus-monitor/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 26 07:07:10 PDT 2007


Revision: 27269
          http://trac.macosforge.org/projects/macports/changeset/27269
Author:   markd at macports.org
Date:     2007-07-26 07:07:10 -0700 (Thu, 26 Jul 2007)

Log Message:
-----------
Remove hardcoded /opt/local/ that I mistakenly typed in.

Modified Paths:
--------------
    trunk/dports/net/argus-monitor/Portfile

Modified: trunk/dports/net/argus-monitor/Portfile
===================================================================
--- trunk/dports/net/argus-monitor/Portfile	2007-07-26 12:50:12 UTC (rev 27268)
+++ trunk/dports/net/argus-monitor/Portfile	2007-07-26 14:07:10 UTC (rev 27269)
@@ -60,7 +60,7 @@
 	reinplace "s|/lib/sendmail|/usr/sbin/sendmail|g" \
 		${worksrcpath}/examples/config
 } else {
-	reinplace "s|/lib/sendmail|/opt/local/sbin/sendmail|g" \
+	reinplace "s|/lib/sendmail|${prefix}/sbin/sendmail|g" \
 		${worksrcpath}/examples/config
 }
 }
@@ -113,7 +113,7 @@
 
 Redirect OS X's sendmail executable to the one from MacPorts.
 	sudo mv /usr/sbin/sendmail /usr/sbin/sendmail.old
-	sudo ln -s /opt/local/sbin/sendmail /usr/sbin/sendmail
+	sudo ln -s ${prefix}/sbin/sendmail /usr/sbin/sendmail
 
 Startup postfix and set it to run at sytem boot.
 	sudo launchctl load -w /Library/LaunchDaemons/org.macports.postfix.plist

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070726/90224fc6/attachment.html


More information about the macports-changes mailing list