aboutsummaryrefslogtreecommitdiff
path: root/irc/irc
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-04-13 10:45:16 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-04-13 10:45:16 +0000
commit3e206a54e654f8cdeeec190f4436e7fd6d33687a (patch)
treedb647416fe74b5c93c50f3cf49294b73e9f02c1c /irc/irc
parent2a6064328d2b2497f7e2c5997890fafdfabb0a7b (diff)
downloadports-3e206a54e654f8cdeeec190f4436e7fd6d33687a.tar.gz
ports-3e206a54e654f8cdeeec190f4436e7fd6d33687a.zip
irc/irc: convert to CONFIGURE_OUTSOURCE
Approved by: portmgr blanket Differential Revision: https://reviews.freebsd.org/D5818
Notes
Notes: svn path=/head/; revision=413195
Diffstat (limited to 'irc/irc')
-rw-r--r--irc/irc/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/irc/irc/Makefile b/irc/irc/Makefile
index cb7e93ac83a3..5641c894950e 100644
--- a/irc/irc/Makefile
+++ b/irc/irc/Makefile
@@ -18,18 +18,16 @@ CONFLICTS_INSTALL= charybdis-[0-9]* ircd-hybrid-[0-9]* Nefarious-[0-9]* \
USE_RC_SUBR= ircd
GNU_CONFIGURE= yes
+CONFIGURE_OUTSOURCE= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/ircd
-BUILD_WRKSRC= ${WRKSRC}/build
-INSTALL_WRKSRC= ${BUILD_WRKSRC}
-CONFIGURE_WRKSRC= ${BUILD_WRKSRC}
+CONFIGURE_WRKSRC= ${WRKSRC}/build
+CONFIGURE_SCRIPT= support/configure
OPTIONS_DEFINE= IPV6
OPTIONS_DEFAULT=IPV6
IPV6_CONFIGURE_ENABLE= ipv6
-pre-configure:
- @${MKDIR} ${BUILD_WRKSRC}
- ${CP} -p ${WRKSRC}/support/configure ${BUILD_WRKSRC}
- ${CP} -p ${WRKSRC}/support/config.h.dist ${BUILD_WRKSRC}/config.h
+post-configure:
+ @${LN} -sf ${WRKSRC}/support/config.h.dist ${BUILD_WRKSRC}/config.h
.include <bsd.port.mk>