summaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-02-24 07:20:37 +0000
committerijliao <ijliao@FreeBSD.org>2004-02-24 07:20:37 +0000
commit4c6cefbcc17b0afe1d894450c5984f50d3389fe0 (patch)
tree9a9b3a2efd85ff4e614e4835eeea98362567ce27 /cad
parent09f4edff3a10b6939bd158e969db48a31a476d42 (diff)
downloadFreeBSD-ports-4c6cefbcc17b0afe1d894450c5984f50d3389fe0.zip
FreeBSD-ports-4c6cefbcc17b0afe1d894450c5984f50d3389fe0.tar.gz
fix dependence
Diffstat (limited to 'cad')
-rw-r--r--cad/fandango/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/cad/fandango/Makefile b/cad/fandango/Makefile
index f130634..a50608b 100644
--- a/cad/fandango/Makefile
+++ b/cad/fandango/Makefile
@@ -16,20 +16,15 @@ DISTNAME= k${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A python scripted 3D CAD application
-LIB_DEPENDS= python2.3.1:${PORTSDIR}/lang/python
-
-BROKEN= "Broken dependencies"
-
USE_GL= yes
USE_GNOME= gnometarget
USE_KDEBASE_VER= 3
-USE_PYTHON= 2.3+
GNU_CONFIGURE= yes
-pre-everything::
- @${ECHO_CMD}
- @${ECHO_CMD} "*** This port requires python shared library ***"
- @${ECHO_CMD} "*** You have to build python with BUILD_SHARED=yes ***"
- @${ECHO_CMD}
+.include <bsd.port.pre.mk>
+
+.if !exists(${LOCALBASE}/lib/libpython2.3.so.1)
+BROKEN= "Requires python shared libs; build python 2.3 with BUILD_SHARED=yes"
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud