diff options
author | pav <pav@FreeBSD.org> | 2005-11-12 19:15:47 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-11-12 19:15:47 +0800 |
commit | 3a17670b18cc0f93065a5e2efc8b0049bcfdcffc (patch) | |
tree | f2e8a29506f1c5e8087326a787217e0c4cf88e7f /math/cln | |
parent | a5c608233a0df5fbd5a9c191d5a33a38f8db0dd0 (diff) | |
download | freebsd-ports-gnome-3a17670b18cc0f93065a5e2efc8b0049bcfdcffc.tar.gz freebsd-ports-gnome-3a17670b18cc0f93065a5e2efc8b0049bcfdcffc.tar.zst freebsd-ports-gnome-3a17670b18cc0f93065a5e2efc8b0049bcfdcffc.zip |
- 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/Makefile | 5 |
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 |