summaryrefslogtreecommitdiff
path: root/lang/nhc98
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-05-27 02:02:18 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-05-27 02:02:18 +0000
commit5ff80e27ca655424146dd56b0ff80b096611acb4 (patch)
tree69f079bb40133bb0e0369e2951cd9a5381393211 /lang/nhc98
parentAdd fragroute, a tool for intercepting, modifying and rewriting egress (diff)
Require use to override if hmake is already installed
PR: 38585 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=60060
Diffstat (limited to 'lang/nhc98')
-rw-r--r--lang/nhc98/Makefile10
1 files changed, 9 insertions, 1 deletions
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 \