diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-11-15 20:20:56 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-11-15 20:20:56 +0000 |
commit | 3ccf7ec93f1de6bcad0cac994c907ed049596e3d (patch) | |
tree | 6e1fc0d6c04a7ada574f2a02523485d51ed35c15 /emulators/gngb | |
parent | 645aeccf225f3faae0b321786be85c960d4aaba8 (diff) | |
download | ports-3ccf7ec93f1de6bcad0cac994c907ed049596e3d.tar.gz ports-3ccf7ec93f1de6bcad0cac994c907ed049596e3d.zip |
Notes
Diffstat (limited to 'emulators/gngb')
-rw-r--r-- | emulators/gngb/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/emulators/gngb/Makefile b/emulators/gngb/Makefile index b22df0ffa022..ee9b618bea02 100644 --- a/emulators/gngb/Makefile +++ b/emulators/gngb/Makefile @@ -18,6 +18,7 @@ COMMENT= GameBoy(tm) emulator LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 GNU_CONFIGURE= yes +USE_REINPLACE= yes USE_GMAKE= yes USE_GETOPT_LONG=yes USE_XLIB= yes @@ -41,13 +42,13 @@ PORT_CFLAGS+= -DSDL_GL .endif pre-configure: - @${PERL} -pi -e 's|sdl-config|sdl11-config|g' ${WRKSRC}/configure - @${PERL} -pi -e 's|-lSDL|-lSDL-1.1|g' ${WRKSRC}/configure - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|sdl-config|sdl11-config|g; \ + s|-lSDL|-lSDL-1.1|g; \ + s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure post-configure: .if !defined(WITH_OPTIMIZED_CFLAGS) - @${PERL} -pi -e 's|(CFLAGS =).*|\1 ${PORT_CFLAGS} ${CFLAGS}|' ${WRKSRC}/src/Makefile + @${REINPLACE_CMD} -e 's|\(CFLAGS =\).*|\1 ${PORT_CFLAGS} ${CFLAGS}|' ${WRKSRC}/src/Makefile .endif .include <bsd.port.mk> |