aboutsummaryrefslogtreecommitdiff
path: root/math/cln
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-11-12 11:15:47 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-11-12 11:15:47 +0000
commita587332f6a3c087e4afd2e8e4a3698df49b64381 (patch)
tree7b974776442aaeb00fbadd21d10590879b928526 /math/cln
parentf3cdde4e28c379b87fab18a40f474ef44aecf9b3 (diff)
downloadports-a587332f6a3c087e4afd2e8e4a3698df49b64381.tar.gz
ports-a587332f6a3c087e4afd2e8e4a3698df49b64381.zip
- Bail out when older version is installed, because the compilation would fail
PR: ports/88567 Submitted by: Kay Lehmann <kay_lehmann@web.de>
Notes
Notes: svn path=/head/; revision=148018
Diffstat (limited to 'math/cln')
-rw-r--r--math/cln/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/math/cln/Makefile b/math/cln/Makefile
index fb972740ba04..781dca4bae42 100644
--- a/math/cln/Makefile
+++ b/math/cln/Makefile
@@ -44,6 +44,11 @@ LDFLAGS= -L${LOCALBASE}/lib
BROKEN= "Does not compile on sparc64 or ia64"
.endif
+pre-build:
+.if exists(${LOCALBASE}/lib/libcln.so.3)
+BROKEN= "Does not compile when older version is installed. Please pkg_delete old cln first"
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/dvi