summaryrefslogtreecommitdiffstats
path: root/lang/pike74/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/pike74/Makefile')
-rw-r--r--lang/pike74/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/lang/pike74/Makefile b/lang/pike74/Makefile
index 221844a..ebc4f3c 100644
--- a/lang/pike74/Makefile
+++ b/lang/pike74/Makefile
@@ -13,11 +13,6 @@ MASTER_SITES= http://pike.idonex.se/download/
MAINTAINER= vns@delta.odessa.ua
-pre-fetch:
-.if !defined(BATCH)
- @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.pike
-.endif
-
WRKSRC= ${WRKDIR}/${DISTNAME}/src/
IS_INTERACTIVE= yes
@@ -30,10 +25,18 @@ CONFIGURE_ARGS?= \
--without-msql \
--without-jpeg
+pre-fetch:
+.if !defined(BATCH)
+ @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.pike
+.endif
+
pre-configure:
@${ECHO} ${CONFIGURE_ARGS}
pre-clean:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
+.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
+.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
+.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud