diff options
author | pat <pat@FreeBSD.org> | 2002-03-13 16:55:42 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-03-13 16:55:42 +0800 |
commit | 3891cd5925ebab0398b39d6ce7a02cd70667956c (patch) | |
tree | d84eb93fdb0da026a594d11a7a6103dc26f3fc5b | |
parent | 01913558e6868a9eb43c4521e1ea1b054cdad842 (diff) | |
download | freebsd-ports-gnome-3891cd5925ebab0398b39d6ce7a02cd70667956c.tar.gz freebsd-ports-gnome-3891cd5925ebab0398b39d6ce7a02cd70667956c.tar.zst freebsd-ports-gnome-3891cd5925ebab0398b39d6ce7a02cd70667956c.zip |
Make port PREFIX and LOCALBASE safe and use PTHREAD_LIBS
Approved by: maintainer
-rw-r--r-- | devel/crystal/Makefile | 7 | ||||
-rw-r--r-- | devel/crystal/pkg-plist | 1 |
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 |