aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-24 07:20:37 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-24 07:20:37 +0000
commitaaa6122e20ec294b9231df7339a2c46759633962 (patch)
treed65030f52904139230560ed3f2f52a5707ed1b7d /cad
parent02450ed56f92e1a9847178d8793721fcecb5851c (diff)
downloadports-aaa6122e20ec294b9231df7339a2c46759633962.tar.gz
ports-aaa6122e20ec294b9231df7339a2c46759633962.zip
fix dependence
Notes
Notes: svn path=/head/; revision=101942
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 f130634f5700..a50608b837ab 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>