aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-03-04 21:45:05 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-03-04 21:45:05 +0000
commitbbc9f4ace6c5253ed813d2b307132e554fc32560 (patch)
tree59611b10ad115d564fe64a857ee2b1d552c3db7a
parent8861f64b57880230c92e9ece99e8c997d496b951 (diff)
downloadports-bbc9f4ace6c5253ed813d2b307132e554fc32560.tar.gz
ports-bbc9f4ace6c5253ed813d2b307132e554fc32560.zip
Notes
-rw-r--r--net-mgmt/net-snmp4/Makefile16
-rw-r--r--net/net-snmp4/Makefile16
2 files changed, 8 insertions, 24 deletions
diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile
index fb17a481a2be..c6489a3d0b56 100644
--- a/net-mgmt/net-snmp4/Makefile
+++ b/net-mgmt/net-snmp4/Makefile
@@ -15,7 +15,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.win.ne.jp/pub/network/snmp/ucd-snmp/
MASTER_SITE_SUBDIR= net-snmp
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= marcus@FreeBSD.org
COMMENT= An extendable SNMP implementation
USE_AUTOCONF_VER=213
@@ -71,17 +71,9 @@ CONFIGURE_ARGS+= --enable-ipv6
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+= --without-openssl
.else
-.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && ${OSREL} == 4)
-.if ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && ${OSREL} == 4)
-LIB_DEPENDS+= crypto.4:${PORTSDIR}/security/openssl
-.else
-LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
-.endif
-CONFIGURE_ARGS+= --with-openssl=${LOCALBASE}
-CFLAGS+= -DOPENSSL_DES_LIBDES_COMPATIBILITY
-.else
+USE_OPENSSL= YES
CONFIGURE_ARGS+= --with-openssl=/usr
-.endif
+CFLAGS+= -DOPENSSL_DES_LIBDES_COMPATIBILITY
.endif
SHLIB_VERSION= 4
@@ -89,7 +81,7 @@ PLIST_SUB+= shlib=${SHLIB_VERSION}
pre-everything::
@${ECHO} ""
- @${ECHO} "You may use the following build options:"
+ @${ECHO} "You may use the following build option(s):"
@${ECHO} ""
@${ECHO} " WITH_PORTSSL=yes Use the OpenSSL Version delivered by the ports."
@${ECHO} " With FreeBSD 5, net-snmp4 requires automaticly"
diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile
index fb17a481a2be..c6489a3d0b56 100644
--- a/net/net-snmp4/Makefile
+++ b/net/net-snmp4/Makefile
@@ -15,7 +15,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.win.ne.jp/pub/network/snmp/ucd-snmp/
MASTER_SITE_SUBDIR= net-snmp
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= marcus@FreeBSD.org
COMMENT= An extendable SNMP implementation
USE_AUTOCONF_VER=213
@@ -71,17 +71,9 @@ CONFIGURE_ARGS+= --enable-ipv6
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+= --without-openssl
.else
-.if defined(WITH_PORTSSL) || ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && ${OSREL} == 4)
-.if ${OSVERSION} >= 500100 || (${OSVERSION} >= 470103 && ${OSREL} == 4)
-LIB_DEPENDS+= crypto.4:${PORTSDIR}/security/openssl
-.else
-LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
-.endif
-CONFIGURE_ARGS+= --with-openssl=${LOCALBASE}
-CFLAGS+= -DOPENSSL_DES_LIBDES_COMPATIBILITY
-.else
+USE_OPENSSL= YES
CONFIGURE_ARGS+= --with-openssl=/usr
-.endif
+CFLAGS+= -DOPENSSL_DES_LIBDES_COMPATIBILITY
.endif
SHLIB_VERSION= 4
@@ -89,7 +81,7 @@ PLIST_SUB+= shlib=${SHLIB_VERSION}
pre-everything::
@${ECHO} ""
- @${ECHO} "You may use the following build options:"
+ @${ECHO} "You may use the following build option(s):"
@${ECHO} ""
@${ECHO} " WITH_PORTSSL=yes Use the OpenSSL Version delivered by the ports."
@${ECHO} " With FreeBSD 5, net-snmp4 requires automaticly"