diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2015-10-16 11:13:50 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2015-10-16 11:13:50 +0000 |
commit | b24fb567188a2e187f35a01858e28c07eeb947d2 (patch) | |
tree | 01264ea09dd5d88c1b3c2e85379aa93671efaa52 | |
parent | devel/libuutil: Unbreak (diff) |
- Fix pthread detection. [1]
- Add LICENSE.
- Use USES=tar:tgz.
- OPTIONS'fy.
- Don't hide install procedure.
PR: 203792 [1]
Notes
Notes:
svn path=/head/; revision=399431
-rw-r--r-- | net/irrd/Makefile | 25 | ||||
-rw-r--r-- | net/irrd/files/patch-configure | 14 |
2 files changed, 23 insertions, 16 deletions
diff --git a/net/irrd/Makefile b/net/irrd/Makefile index 5388e77746de..d3806a5b44f7 100644 --- a/net/irrd/Makefile +++ b/net/irrd/Makefile @@ -3,34 +3,33 @@ PORTNAME= irrd PORTVERSION= 2.3.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net ipv6 MASTER_SITES= http://www.irrd.net/ DISTNAME= ${PORTNAME}${PORTVERSION} -EXTRACT_SUFX= .tgz MAINTAINER= ume@FreeBSD.org COMMENT= Internet Routing Registry database server +LICENSE= BSD4CLAUSE +LICENSE_FILE= ${WRKDIR}/${PORTNAME}${PORTVERSION}/COPYRIGHT + RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/src IRRD_CONFDIR= ${PREFIX}/etc -USES= shebangfix +USES= shebangfix tar:tgz USE_RC_SUBR= irrd GNU_CONFIGURE= yes CONFIGURE_ENV= YACC="${YACC}" MAKE_JOBS_UNSAFE= yes -#CONFIGURE_ARGS+= --disable-thread DESTDIRNAME= STAGEDIR -.if defined(WITHOUT_IPV6) -CONFIGURE_ARGS+= --disable-ipv6 -.else -CONFIGURE_ARGS+= --enable-ipv6 -.endif +OPTIONS_DEFINE= IPV6 +OPTIONS_DEFAULT= IPV6 +IPV6_CONFIGURE_ENABLE= ipv6 SHEBANG_FILES= programs/irrdcacher/irrdcacher \ programs/irrdcacher/ripe2rpsl @@ -63,13 +62,13 @@ post-patch: ${WRKSRC}/programs/irr_rpsl_submit/Makefile post-install: - @${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/irrdcacher \ + ${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/irrdcacher \ ${STAGEDIR}${PREFIX}/sbin - @${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/ripe2rpsl \ + ${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/ripe2rpsl \ ${STAGEDIR}${PREFIX}/sbin - @${INSTALL_DATA} ${WRKSRC}/../samples/irrd.conf.sample \ + ${INSTALL_DATA} ${WRKSRC}/../samples/irrd.conf.sample \ ${STAGEDIR}${IRRD_CONFDIR} - @${INSTALL_DATA} ${WRKSRC}/programs/IRRd/irrd.8 \ + ${INSTALL_DATA} ${WRKSRC}/programs/IRRd/irrd.8 \ ${STAGEDIR}${PREFIX}/man/man8 .include <bsd.port.mk> diff --git a/net/irrd/files/patch-configure b/net/irrd/files/patch-configure index c34662282724..094af76d68de 100644 --- a/net/irrd/files/patch-configure +++ b/net/irrd/files/patch-configure @@ -1,6 +1,14 @@ ---- configure.orig 2006-09-12 21:40:55.000000000 +0400 -+++ configure 2008-02-15 16:23:17.000000000 +0300 -@@ -6011,7 +6011,7 @@ +--- configure.orig 2006-09-12 17:40:55 UTC ++++ configure +@@ -2638,7 +2638,6 @@ + THREAD_CFLAGS="-D_THREAD_SAFE -pthread" + fi + CRYPT_LIB="-lcrypt" +- ac_pthrlib="c_r" + ;; + linux* ) + CRYPT_LIB="-lcrypt" +@@ -6011,7 +6010,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ |