1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Use ${OSVERSION} instead of ${USE_INET6}.

Reviewed by:	maintainer
This commit is contained in:
Munechika SUMIKAWA 2000-01-25 18:33:42 +00:00
parent d73db34b43
commit 8b1bd7114c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25070
4 changed files with 32 additions and 22 deletions

View File

@ -19,9 +19,6 @@ MAINTAINER= yasuf@big.or.jp
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
.if defined(USE_INET6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
MAN1= ruby.1
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
@ -33,6 +30,12 @@ BRANCH_NAME= 1.4
DOCDIR= ${PREFIX}/share/doc/ruby
EXAMPLESDIR= ${PREFIX}/share/examples/ruby
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.endif
post-patch:
${RM} -f ${WRKSRC}/ext/tcltklib/MANIFEST
${RM} -f ${WRKSRC}/ext/tk/MANIFEST
@ -66,4 +69,4 @@ post-install:
test:
@(cd ${WRKSRC}; make test)
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -19,9 +19,6 @@ MAINTAINER= yasuf@big.or.jp
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
.if defined(USE_INET6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
MAN1= ruby.1
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
@ -33,6 +30,12 @@ BRANCH_NAME= 1.4
DOCDIR= ${PREFIX}/share/doc/ruby
EXAMPLESDIR= ${PREFIX}/share/examples/ruby
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.endif
post-patch:
${RM} -f ${WRKSRC}/ext/tcltklib/MANIFEST
${RM} -f ${WRKSRC}/ext/tk/MANIFEST
@ -66,4 +69,4 @@ post-install:
test:
@(cd ${WRKSRC}; make test)
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -19,9 +19,6 @@ MAINTAINER= yasuf@big.or.jp
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
.if defined(USE_INET6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
MAN1= ruby.1
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
@ -33,6 +30,12 @@ BRANCH_NAME= 1.4
DOCDIR= ${PREFIX}/share/doc/ruby
EXAMPLESDIR= ${PREFIX}/share/examples/ruby
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.endif
post-patch:
${RM} -f ${WRKSRC}/ext/tcltklib/MANIFEST
${RM} -f ${WRKSRC}/ext/tk/MANIFEST
@ -66,4 +69,4 @@ post-install:
test:
@(cd ${WRKSRC}; make test)
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -11,23 +11,24 @@ CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
http://www.giovannelli.it/~gmarco/files/
.if defined(USE_INET6)
PATCHFILES= mtr-041-v6-20000113.diff.gz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCH_DIST_STRIP= -p1
.endif
MAINTAINER= billf@FreeBSD.org
HAS_CONFIGURE= yes
.if defined(USE_INET6)
MAN8= mtr.8
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
PATCHFILES= mtr-041-v6-20000113.diff.gz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCH_DIST_STRIP= -p1
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
MAN8= mtr.8
pre-patch:
.if !defined(USE_GTK)
@${ECHO} ""
@ -53,4 +54,4 @@ post-install:
@${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
@${ECHO} ""
.include <bsd.port.mk>
.include <bsd.port.post.mk>