diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-11-12 11:15:47 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-11-12 11:15:47 +0000 |
commit | a587332f6a3c087e4afd2e8e4a3698df49b64381 (patch) | |
tree | 7b974776442aaeb00fbadd21d10590879b928526 /math/cln | |
parent | f3cdde4e28c379b87fab18a40f474ef44aecf9b3 (diff) | |
download | ports-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/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 |