From eb92024368fb72320b28ea91c062582c4e0566dc Mon Sep 17 00:00:00 2001 From: Munechika SUMIKAWA Date: Thu, 21 Sep 2000 18:23:43 +0000 Subject: Enable IPv6. PR: 21445 Submitted by: maintainer --- mbone/rat/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'mbone/rat/Makefile') 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 + +.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" -- cgit v1.2.3