aboutsummaryrefslogtreecommitdiff
path: root/devel/glui
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-15 20:37:04 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-15 20:37:04 +0000
commit3dfcb69b7713730d22282332e61d19042167992f (patch)
tree14ba4292ad28106c8850a8687b0478783ab3362c /devel/glui
parent69159be6d154e71e1b93cb66fad84dc503d37c54 (diff)
downloadports-3dfcb69b7713730d22282332e61d19042167992f.tar.gz
ports-3dfcb69b7713730d22282332e61d19042167992f.zip
Notes
Diffstat (limited to 'devel/glui')
-rw-r--r--devel/glui/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/glui/Makefile b/devel/glui/Makefile
index 5badb4993656..9585a3bc0336 100644
--- a/devel/glui/Makefile
+++ b/devel/glui/Makefile
@@ -20,13 +20,13 @@ USE_GMAKE= yes
MAKEFILE= makefile
ALL_TARGET= # empty
USE_X_PREFIX= yes
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e 's:/unc/walk/lib/sgi_irix:${PREFIX}/lib:g' ${WRKSRC}/makefile
- @${PERL} -pi -e 's:/unc/walk/include:${PREFIX}/include:g' ${WRKSRC}/makefile
- @${PERL} -pi -e 's:^CFLAGS:#CFLAGS:g' ${WRKSRC}/makefile
- @${PERL} -pi -e 's:^CC=:CC=gcc #:g' ${WRKSRC}/makefile
- @${PERL} -pi -e 's:^libs =:libs=-pthread:g' ${WRKSRC}/makefile
+ @${REINPLACE_CMD} -e 's:/unc/walk/lib/sgi_irix:${PREFIX}/lib:g; \
+ s:/unc/walk/include:${PREFIX}/include:g; \
+ s:^CFLAGS:#&:; s:^CC=:CC?=gcc #:; \
+ s:^libs =:&${PTHREAD_LIBS}:' ${WRKSRC}/makefile
@${MKDIR} ${WRKSRC}/lib ${WRKSRC}/bin
do-install: