diff options
-rw-r--r-- | emulators/gngb/Makefile | 9 | ||||
-rw-r--r-- | emulators/vmware2/Makefile | 1 | ||||
-rw-r--r-- | emulators/xmame/Makefile | 1 |
3 files changed, 7 insertions, 4 deletions
diff --git a/emulators/gngb/Makefile b/emulators/gngb/Makefile index b22df0ffa02..ee9b618bea0 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> diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile index af4d40a98dc..7244c5c3f64 100644 --- a/emulators/vmware2/Makefile +++ b/emulators/vmware2/Makefile @@ -39,6 +39,7 @@ FREEBSD_MODULE_SITES= \ USE_SUBMAKE= yes USE_LINUX= yes +USE_PERL5= yes VMDIR= ${PREFIX}/lib/vmware SRC_BASE?= /usr/src diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile index 96060acf155..e87d7e0e92b 100644 --- a/emulators/xmame/Makefile +++ b/emulators/xmame/Makefile @@ -21,6 +21,7 @@ MAINTAINER?= refugee@vt.edu COMMENT?= UNIX/X11 port of the Multi Arcade Machine Emulator (MAME) USE_BZIP2= yes +USE_PERL5= yes USE_GMAKE= yes USE_REINPLACE= yes |