summaryrefslogtreecommitdiffstats
path: root/math/cln
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-11-12 11:15:47 +0000
committerpav <pav@FreeBSD.org>2005-11-12 11:15:47 +0000
commit3a17670b18cc0f93065a5e2efc8b0049bcfdcffc (patch)
treef2e8a29506f1c5e8087326a787217e0c4cf88e7f /math/cln
parenta5c608233a0df5fbd5a9c191d5a33a38f8db0dd0 (diff)
downloadFreeBSD-ports-3a17670b18cc0f93065a5e2efc8b0049bcfdcffc.zip
FreeBSD-ports-3a17670b18cc0f93065a5e2efc8b0049bcfdcffc.tar.gz
- Bail out when older version is installed, because the compilation would fail
PR: ports/88567 Submitted by: Kay Lehmann <kay_lehmann@web.de>
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 fb97274..781dca4 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
OpenPOWER on IntegriCloud