summaryrefslogtreecommitdiff
path: root/mbone/rat/Makefile
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-09-21 18:23:43 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-09-21 18:23:43 +0000
commiteb92024368fb72320b28ea91c062582c4e0566dc (patch)
treee1a37e6199c74f9308f42b09146c983dffdc240d /mbone/rat/Makefile
parentGive this port to ports@freebsd.org, I'm both too lazy and busy (diff)
Enable IPv6.
PR: 21445 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=32941
Diffstat (limited to 'mbone/rat/Makefile')
-rw-r--r--mbone/rat/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/mbone/rat/Makefile b/mbone/rat/Makefile
index c03e840c70b1..ef79c115ec60 100644
--- a/mbone/rat/Makefile
+++ b/mbone/rat/Makefile
@@ -7,7 +7,7 @@
PORTNAME= rat
PORTVERSION= 4.2.9
-CATEGORIES= mbone audio
+CATEGORIES= mbone audio ipv6
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/4.2.9/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= cpiazza
@@ -25,6 +25,12 @@ PATCH_DEBUG= yes
RAT_BUILD_DIRS= common rat
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
+ENABLE_IPv6= --enable-ipv6
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rat/rat ${PREFIX}/bin/rat
${INSTALL_PROGRAM} ${WRKSRC}/rat/rat-ui ${PREFIX}/bin/rat-ui
@@ -39,7 +45,7 @@ do-build:
done
do-configure:
- cd ${WRKSRC}/common && ./configure
- cd ${WRKSRC}/rat && autoconf && ./configure --with-tcl=${LOCALBASE} --with-tk=${LOCALBASE}
+ cd ${WRKSRC}/common && autoconf && ./configure ${ENABLE_IPv6}
+ cd ${WRKSRC}/rat && autoconf && ./configure --with-tcl=${LOCALBASE} --with-tk=${LOCALBASE} ${ENABLE_IPv6}
-.include "bsd.port.mk"
+.include "bsd.port.post.mk"