diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2016-01-26 05:22:25 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2016-01-26 05:22:25 +0000 |
commit | 86148b9a0deb4d798e9ea2c5b35d181cc451c915 (patch) | |
tree | ca688673f9b46156756ec36ce3e599472a876842 /net-mgmt/netxms/Makefile | |
parent | 84eda242c72f9cf2264996d92b523853af8b1e0b (diff) | |
download | ports-86148b9a0deb4d798e9ea2c5b35d181cc451c915.tar.gz ports-86148b9a0deb4d798e9ea2c5b35d181cc451c915.zip |
net-mgmt/netxms: Fix dependencies
- Skip using bundled dependencies
- In particular, fix build when expat port is installed, in which case
bundled expat is not built and plist becomes broken
- Likewise, fix unhandled curl dependency
- Simplify options handling and fix plist
PR: 206099
Submitted by: amdmi3
Notes
Notes:
svn path=/head/; revision=407264
Diffstat (limited to 'net-mgmt/netxms/Makefile')
-rw-r--r-- | net-mgmt/netxms/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/net-mgmt/netxms/Makefile b/net-mgmt/netxms/Makefile index 63f780ad9416..9c6f4dec1d80 100644 --- a/net-mgmt/netxms/Makefile +++ b/net-mgmt/netxms/Makefile @@ -3,7 +3,7 @@ PORTNAME= netxms PORTVERSION= 1.2.17 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MASTER_SITES= http://www.netxms.org/download/ \ http://www.netxms.org/download/archive/ @@ -14,18 +14,23 @@ COMMENT= Network monitoring system LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ + libexpat.so:${PORTSDIR}/textproc/expat2 \ + libjansson.so:${PORTSDIR}/devel/jansson \ + libtre.so:${PORTSDIR}/textproc/libtre + PORTSCOUT= limit:^1\. OPTIONS_DEFINE= SERVER CLIENT AGENT OPTIONS_DEFAULT= CLIENT AGENT -SERVER_ENABLED_MODULES= MYSQL -SERVER_DISABLED_MODULES= PGSQL SQLITE ODBC OPTIONS_SINGLE= SERVER -OPTIONS_SINGLE_SERVER= ${SERVER_ENABLED_MODULES} ${SERVER_DISABLED_MODULES} +OPTIONS_SINGLE_SERVER= MYSQL PGSQL SQLITE ODBC OPTIONS_SUB= yes + SERVER_DESC= Install NetXMS server & agent CLIENT_DESC= Install NetXMS client AGENT_DESC= Install NetXMS agent + CLIENT_CONFIGURE_ON= --with-client AGENT_CONFIGURE_ON= --with-agent SERVER_CONFIGURE_ON= --with-server @@ -41,9 +46,7 @@ ODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC USE_OPENSSL= yes USES= gmake iconv libtool perl5 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-silent-rules \ - --with-internal-libjansson \ - --with-internal-libtre +CONFIGURE_ARGS= --disable-silent-rules USE_LDCONFIG= yes INSTALL_TARGET= install-strip |