aboutsummaryrefslogtreecommitdiff
path: root/misc/goblin
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-22 17:23:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-22 17:23:30 +0000
commit3b9032fabc47df7c423b0fe802d1060c7b4e5816 (patch)
treebc94b068979a41f61931d2bd7979481f6acd573b /misc/goblin
parent7b3cf63dbe867642387b83d0d46a6ef77e970a05 (diff)
downloadports-3b9032fabc47df7c423b0fe802d1060c7b4e5816.tar.gz
ports-3b9032fabc47df7c423b0fe802d1060c7b4e5816.zip
Notes
Diffstat (limited to 'misc/goblin')
-rw-r--r--misc/goblin/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/goblin/Makefile b/misc/goblin/Makefile
index fa8d24deb732..7435f6b99250 100644
--- a/misc/goblin/Makefile
+++ b/misc/goblin/Makefile
@@ -17,15 +17,17 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 \
tk83:${PORTSDIR}/x11-toolkits/tk83
+USE_REINPLACE= yes
+
CFLAGS+= -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \
-I${X11BASE}/include
LIBS= -L${LOCALBASE}/lib -L${X11BASE}/lib
post-patch:
- @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \
+ @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \
s,g\+\+,${CXX},g ; \
s,%%CXXFLAGS%%,${CXXFLAGS},g ; s,%%LIBS%%,${LIBS},g ; \
s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile
- @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h
+ @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h
.include <bsd.port.mk>