aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-04-13 18:45:16 +0800
committerjbeich <jbeich@FreeBSD.org>2016-04-13 18:45:16 +0800
commitd34baeb181e498ba4c43a2f2bf2d78e0a7f33944 (patch)
treedb647416fe74b5c93c50f3cf49294b73e9f02c1c /irc
parenta0786767c078109e992ab33681c27949c14b7d6b (diff)
downloadfreebsd-ports-gnome-d34baeb181e498ba4c43a2f2bf2d78e0a7f33944.tar.gz
freebsd-ports-gnome-d34baeb181e498ba4c43a2f2bf2d78e0a7f33944.tar.zst
freebsd-ports-gnome-d34baeb181e498ba4c43a2f2bf2d78e0a7f33944.zip
irc/irc: convert to CONFIGURE_OUTSOURCE
Approved by: portmgr blanket Differential Revision: https://reviews.freebsd.org/D5818
Diffstat (limited to '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>