aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra/Makefile
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2000-01-09 01:49:13 +0800
committersumikawa <sumikawa@FreeBSD.org>2000-01-09 01:49:13 +0800
commit021bdec8edf0546ece54d3e6adfb8c9b1b2f76ef (patch)
tree5646ead78392b71466b13ca1fd433850054a0351 /net/zebra/Makefile
parentf90bce72d943735b8e4515fea4ca8b2594f21cef (diff)
downloadfreebsd-ports-gnome-021bdec8edf0546ece54d3e6adfb8c9b1b2f76ef.tar.gz
freebsd-ports-gnome-021bdec8edf0546ece54d3e6adfb8c9b1b2f76ef.tar.zst
freebsd-ports-gnome-021bdec8edf0546ece54d3e6adfb8c9b1b2f76ef.zip
Support IPv6. if 'USE_INET6' is defined, ripngd and ospf6d are installed.
Approved by: andreas(maintainer)
Diffstat (limited to 'net/zebra/Makefile')
-rw-r--r--net/zebra/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index b783013b496e..240cf57859b0 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -17,6 +17,13 @@ MAINTAINER= andreas@FreeBSD.org
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra
+.if defined(USE_INET6)
+PLIST= ${PKGDIR}/PLIST.v6
+.else
+CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd
+PLIST= ${PKGDIR}/PLIST
+.endif
+
post-install:
@${ECHO} "===> installing zebra startup file..."
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \