diff options
Diffstat (limited to 'cad/slffea/Makefile')
-rw-r--r-- | cad/slffea/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cad/slffea/Makefile b/cad/slffea/Makefile index 8ccc02067d56..59a33c40c950 100644 --- a/cad/slffea/Makefile +++ b/cad/slffea/Makefile @@ -16,6 +16,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_MESA= yes CFLAGS+= -I${X11BASE}/include ${PTHREAD_CFLAGS} WRKSRC= ${WRKDIR}/${PORTNAME}-1.3 @@ -38,7 +39,7 @@ EXEC= beam/beam/bm \ post-patch: @(find ${WRKSRC} -name Makefile | xargs \ - ${PERL} -pi -e "s,^CC = (.*),CC = ${CC} ${CFLAGS},g ; \ + ${REINPLACE_CMD} -E -e "s,^CC = (.*),CC = ${CC} ${CFLAGS},g ; \ s,-lglut,-lglut ${PTHREAD_LIBS},g") do-install: |