diff options
author | jlaffaye <jlaffaye@FreeBSD.org> | 2011-06-17 00:53:21 +0800 |
---|---|---|
committer | jlaffaye <jlaffaye@FreeBSD.org> | 2011-06-17 00:53:21 +0800 |
commit | 865c2611edca9dece319b51b6d8b57698c828740 (patch) | |
tree | 7d46f283118ea58a58b73e9b0d3dd2580d6477ea /net-mgmt | |
parent | 6b2ae3165dfebedf5d4f3b4ad4bcc48fc53c6814 (diff) | |
download | freebsd-ports-gnome-865c2611edca9dece319b51b6d8b57698c828740.tar.gz freebsd-ports-gnome-865c2611edca9dece319b51b6d8b57698c828740.tar.zst freebsd-ports-gnome-865c2611edca9dece319b51b6d8b57698c828740.zip |
Fix installation and plist when the MYSQL option is off
PR: ports/157905
Submitted by: Derek Brost <derek.brost@eprotex.com>
Approved by: Alexander Demin <support@spectrum.ru> (maintainer), bapt (mentor)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/argus3-clients/Makefile | 10 | ||||
-rw-r--r-- | net-mgmt/argus3-clients/pkg-plist | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/net-mgmt/argus3-clients/Makefile b/net-mgmt/argus3-clients/Makefile index 148f6e73a9a8..9bc394a659af 100644 --- a/net-mgmt/argus3-clients/Makefile +++ b/net-mgmt/argus3-clients/Makefile @@ -34,6 +34,9 @@ CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} .if defined(WITH_MYSQL) USE_MYSQL= yes +PLIST_SUB+= MYSQL="" +.else +PLIST_SUB+= MYSQL="@comment " .endif .if defined(WITH_GEOIP) @@ -51,10 +54,15 @@ MAN8= radium.8 do-install: .for i in ra rabins racluster racount radump rafilteraddr \ rahisto ralabel ranonymize rapath rapolicy \ - raservices rasort rasplit rasql rasqlinsert rastream \ + raservices rasort rasplit rastream \ rastrip ratemplate ratimerange ratop ratree rauserdata ${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i .endfor +.if defined(WITH_MYSQL) +.for i in rasql rasqlinsert + ${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i +.endfor +.endif .for i in radark ragraph rahosts raports ${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i .endfor diff --git a/net-mgmt/argus3-clients/pkg-plist b/net-mgmt/argus3-clients/pkg-plist index 21e9873fc25c..5cf381c2dab1 100644 --- a/net-mgmt/argus3-clients/pkg-plist +++ b/net-mgmt/argus3-clients/pkg-plist @@ -16,8 +16,8 @@ bin/raports bin/raservices bin/rasort bin/rasplit -bin/rasql -bin/rasqlinsert +%%MYSQL%%bin/rasql +%%MYSQL%%bin/rasqlinsert bin/rastream bin/rastrip bin/ratemplate |