aboutsummaryrefslogtreecommitdiff
path: root/devel/crystal
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-13 08:55:42 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-13 08:55:42 +0000
commita849031229808959a15ace406eeae0793e8acc71 (patch)
treea1000315e2f18fb975c5fcd01308bbac34e29d42 /devel/crystal
parent2f276e99ec7b2d2c9dfc52576d8737b0938e5e95 (diff)
downloadports-a849031229808959a15ace406eeae0793e8acc71.tar.gz
ports-a849031229808959a15ace406eeae0793e8acc71.zip
Notes
Diffstat (limited to 'devel/crystal')
-rw-r--r--devel/crystal/Makefile7
-rw-r--r--devel/crystal/pkg-plist1
2 files changed, 8 insertions, 0 deletions
diff --git a/devel/crystal/Makefile b/devel/crystal/Makefile
index fa889a09f894..a697aa5ed677 100644
--- a/devel/crystal/Makefile
+++ b/devel/crystal/Makefile
@@ -25,4 +25,11 @@ WRKSRC= ${WRKDIR}/CS
pre-build:
cd ${WRKSRC}; ${GMAKE} freebsd
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|' \
+ ${WRKSRC}/plugins/cscript/cspython/cspython.mak
+ @${FIND} ${WRKSRC} -name "*.mak" | ${XARGS} ${PERL} -pi -e \
+ 's|-O6|${PTHREAD_CFLAGS}|; s|/usr/local|${LOCALBASE}|; \
+ s|INSTALL_DIR = ${LOCALBASE}/crystal|INSTALL_DIR = ${PREFIX}/crystal|'
+
.include <bsd.port.mk>
diff --git a/devel/crystal/pkg-plist b/devel/crystal/pkg-plist
index c3b32b6a62f7..baca183900d0 100644
--- a/devel/crystal/pkg-plist
+++ b/devel/crystal/pkg-plist
@@ -17,6 +17,7 @@ crystal/data/config/map2cs.cfg
crystal/data/config/soft3d.cfg
crystal/install.log
crystal/lib/aws.so
+crystal/lib/cspython.so
crystal/lib/gl3d.so
crystal/lib/null3d.so
crystal/lib/line3d.so