summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-08 21:57:43 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-08 21:57:43 +0000
commit3ea9ac8e703028c5379924c79297d3c6eac046e3 (patch)
tree3ffbb747a7ac19e4641967a12cd86d7efc2e95b3 /net
parentRack::Cache is suitable as a quick drop-in component (diff)
- Fix WITH_OPENSSL_PORT=ye support
PR: ports/146281 Submitted by: Dan Lukes <dan@obluda.cz>
Notes
Notes: svn path=/head/; revision=260782
Diffstat (limited to 'net')
-rw-r--r--net/xorp/Makefile48
1 files changed, 24 insertions, 24 deletions
diff --git a/net/xorp/Makefile b/net/xorp/Makefile
index 6b48d1380dce..32a5b619723f 100644
--- a/net/xorp/Makefile
+++ b/net/xorp/Makefile
@@ -17,18 +17,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= The eXtensible Open Router Platform
-NOMAN= defined
-
-USE_GMAKE= yes
-
-GNU_CONFIGURE= yes
-
-CONFIGURE_ARGS= --prefix=${PREFIX}/${PORTNAME} \
- --with-comment='FreeBSD port: ${PKGNAME}' \
- --with-openssl=/usr
-
-CONFIGURE_ENV+= CXXFLAGS="-Wno-uninitialized"
-
OPTIONS= \
ADVMCAST "Build with Advanced Multicast API" On \
IPV6 "Build with IPv6 support" On \
@@ -38,23 +26,22 @@ OPTIONS= \
DEBUGGING "Enable debugging" Off \
PROFILING "Enable profiling" Off
-pre-everything::
-.if !defined(PREFIX) || ${PREFIX} == "/usr/local"
- @${ECHO_MSG} "XORP does not currently follow the hier(7) filesystem layout."
- @${ECHO_MSG} "It will therefore install all its directories relative to ${PREFIX}."
- @${ECHO_MSG} "If you do not want this, hit ^C now and set PREFIX in the"
- @${ECHO_MSG} "build environment to something other than ${PREFIX}."
- @${ECHO_MSG}
- @${ECHO_MSG} "If you plan to build with SNMP support, please ensure that"
- @${ECHO_MSG} "the net-mgmt/net-snmp port is already installed under ${LOCALBASE}"
- @${ECHO_MSG} "before doing this."
-.endif
+USE_GMAKE= yes
+USE_OPENSSL= yes
-.include <bsd.port.pre.mk>
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}/${PORTNAME} \
+ --with-comment='FreeBSD port: ${PKGNAME}' \
+ --with-openssl=${OPENSSLBASE}
+
+CXXFLAGS="-Wno-uninitialized"
+NOMAN= defined
XORP_GROUP= xorp
USE_RC_SUBR= xorp
+.include <bsd.port.options.mk>
+
.if defined(WITH_ADVMCAST)
CONFIGURE_ARGS+= --enable-advanced-mcast-api
.endif
@@ -95,10 +82,23 @@ CONFIGURE_ARGS+= --enable-debug-msgs --enable-debug-fnames
CONFIGURE_ARGS+= --enable-profile
.endif
+.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
+pre-everything::
+.if !defined(PREFIX) || ${PREFIX} == "/usr/local"
+ @${ECHO_MSG} "XORP does not currently follow the hier(7) filesystem layout."
+ @${ECHO_MSG} "It will therefore install all its directories relative to ${PREFIX}."
+ @${ECHO_MSG} "If you do not want this, hit ^C now and set PREFIX in the"
+ @${ECHO_MSG} "build environment to something other than ${PREFIX}."
+ @${ECHO_MSG}
+ @${ECHO_MSG} "If you plan to build with SNMP support, please ensure that"
+ @${ECHO_MSG} "the net-mgmt/net-snmp port is already installed under ${LOCALBASE}"
+ @${ECHO_MSG} "before doing this."
+.endif
+
post-install:
${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL