diff options
author | marcus <marcus@FreeBSD.org> | 2003-11-16 04:37:04 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-11-16 04:37:04 +0800 |
commit | 71ad4933995cc892d62e378ee5be6ac15c6e62ef (patch) | |
tree | 610711606eefa728d01e4e333cc0119ea924f1f6 /devel/glui/Makefile | |
parent | 8918e3de46086cf18a356130171394cc05affdc3 (diff) | |
download | freebsd-ports-graphics-71ad4933995cc892d62e378ee5be6ac15c6e62ef.tar.gz freebsd-ports-graphics-71ad4933995cc892d62e378ee5be6ac15c6e62ef.tar.zst freebsd-ports-graphics-71ad4933995cc892d62e378ee5be6ac15c6e62ef.zip |
unPERLify, and use ${FIND} and ${XARGS} where appropriate.
PR: 48253
Submitted by: Simon 'portlint' Schubert <corecode@corecode.ath.cx>
Diffstat (limited to 'devel/glui/Makefile')
-rw-r--r-- | devel/glui/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/glui/Makefile b/devel/glui/Makefile index 5badb499365..9585a3bc033 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: |