[21590] trunk/dports/net/netmrg/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jan 29 18:24:47 PST 2007
Revision: 21590
http://trac.macosforge.org/projects/macports/changeset/21590
Author: markd at macports.org
Date: 2007-01-29 18:24:47 -0800 (Mon, 29 Jan 2007)
Log Message:
-----------
Add blank server variant to trigger mysql5's server variant.
Modified Paths:
--------------
trunk/dports/net/netmrg/Portfile
Modified: trunk/dports/net/netmrg/Portfile
===================================================================
--- trunk/dports/net/netmrg/Portfile 2007-01-30 02:21:48 UTC (rev 21589)
+++ trunk/dports/net/netmrg/Portfile 2007-01-30 02:24:47 UTC (rev 21590)
@@ -22,24 +22,13 @@
--with-snmp-lib-dir=/usr/lib \
--with-rrdtool=${prefix}/bin
-pre-fetch {
- ui_msg "\n
-
- **************************************************
- **** If MySQL is being installed during the ****
- **** NetMRG install (first-time MySQL ****
- **** install, is recommended that you pre- ****
- **** install MySQL5 with the +server variant ****
- **** so MySQL will start system boot. To do ****
- **** so: ****
-
- 1) Cancel this install now with Cntrl-C.
- 2) Type \"port install mysql5 +server\"
- 3) Re-run the NetMRG port install
- ************************************************
- \n"
+variant server {
+# This variant doesn't do anything in this port, it only exists to trigger the server
+# variant in the mysql5 port.
}
+variant_set server
+
post-extract {
reinplace "s|libnetsnmp.a|libnetsnmp.dylib|g" \
${worksrcpath}/configure
@@ -79,9 +68,6 @@
Set MySQL to run at system boot
sudo launchctl load -w /Library/LaunchDaemons/org.darwinports.mysql5.plist
-NOTE: MySQL must have been installed with the +server variant in order to
- use launchctl to run MySQL at system boot.
-
Set the root MySQL password:
Follow the instructions that were given after you executed 'mysql_install_db' above.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070129/bfb7407c/attachment.html
More information about the macports-changes
mailing list