aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-05-27 10:02:18 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-05-27 10:02:18 +0800
commitd6eee8bb105825a5f99a906771a4b25fad39b462 (patch)
treed3326548e7d50606b9d37191909ab5e00b2330e5
parent127938a140a462cd23844f0ce7cd16c9f48b9a71 (diff)
downloadfreebsd-ports-gnome-d6eee8bb105825a5f99a906771a4b25fad39b462.tar.gz
freebsd-ports-gnome-d6eee8bb105825a5f99a906771a4b25fad39b462.tar.zst
freebsd-ports-gnome-d6eee8bb105825a5f99a906771a4b25fad39b462.zip
Require use to override if hmake is already installed
PR: 38585 Submitted by: maintainer
-rw-r--r--devel/hat/Makefile10
-rw-r--r--devel/hs-hat/Makefile10
-rw-r--r--lang/nhc98/Makefile10
3 files changed, 27 insertions, 3 deletions
diff --git a/devel/hat/Makefile b/devel/hat/Makefile
index 9862aee52238..18e9fcf2be00 100644
--- a/devel/hat/Makefile
+++ b/devel/hat/Makefile
@@ -69,11 +69,19 @@ pre-fetch:
post-patch:
@${PERL} -pi.orig -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
+pre-install:
+.if exists(${PREFIX}/bin/hmake) && !defined(OVERRIDE_HMAKE)
+ @${ECHO} ""
+ @${ECHO} "It seems that there is already a version of hmake installed on"
+ @${ECHO} "this system. Since hmake is part of nhc98, please deinstall it,"
+ @${ECHO} "or define OVERRIDE_HMAKE to override the installed version."
+ @${ECHO} ""
+ @${FALSE}
+.endif
# We need this to ensure that the libs will be installed into
# ${PREFIX}/lib/nhc98. Otherwise the libs will be installed
# into the build directory. The configure option won't work in the
# ports system.
-pre-install:
${RM} -f ${WRKSRC}/include/*.orig
${SED} -e "s#LIBDIR=.*##" \
< ${WRKSRC}/targets/ix86-FreeBSD/config.cache \
diff --git a/devel/hs-hat/Makefile b/devel/hs-hat/Makefile
index 9862aee52238..18e9fcf2be00 100644
--- a/devel/hs-hat/Makefile
+++ b/devel/hs-hat/Makefile
@@ -69,11 +69,19 @@ pre-fetch:
post-patch:
@${PERL} -pi.orig -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
+pre-install:
+.if exists(${PREFIX}/bin/hmake) && !defined(OVERRIDE_HMAKE)
+ @${ECHO} ""
+ @${ECHO} "It seems that there is already a version of hmake installed on"
+ @${ECHO} "this system. Since hmake is part of nhc98, please deinstall it,"
+ @${ECHO} "or define OVERRIDE_HMAKE to override the installed version."
+ @${ECHO} ""
+ @${FALSE}
+.endif
# We need this to ensure that the libs will be installed into
# ${PREFIX}/lib/nhc98. Otherwise the libs will be installed
# into the build directory. The configure option won't work in the
# ports system.
-pre-install:
${RM} -f ${WRKSRC}/include/*.orig
${SED} -e "s#LIBDIR=.*##" \
< ${WRKSRC}/targets/ix86-FreeBSD/config.cache \
diff --git a/lang/nhc98/Makefile b/lang/nhc98/Makefile
index 9862aee52238..18e9fcf2be00 100644
--- a/lang/nhc98/Makefile
+++ b/lang/nhc98/Makefile
@@ -69,11 +69,19 @@ pre-fetch:
post-patch:
@${PERL} -pi.orig -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
+pre-install:
+.if exists(${PREFIX}/bin/hmake) && !defined(OVERRIDE_HMAKE)
+ @${ECHO} ""
+ @${ECHO} "It seems that there is already a version of hmake installed on"
+ @${ECHO} "this system. Since hmake is part of nhc98, please deinstall it,"
+ @${ECHO} "or define OVERRIDE_HMAKE to override the installed version."
+ @${ECHO} ""
+ @${FALSE}
+.endif
# We need this to ensure that the libs will be installed into
# ${PREFIX}/lib/nhc98. Otherwise the libs will be installed
# into the build directory. The configure option won't work in the
# ports system.
-pre-install:
${RM} -f ${WRKSRC}/include/*.orig
${SED} -e "s#LIBDIR=.*##" \
< ${WRKSRC}/targets/ix86-FreeBSD/config.cache \