diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-11-17 13:22:30 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-11-17 13:22:30 +0000 |
commit | 7a51904aaaa44df123e7ddbad9b475eebd504344 (patch) | |
tree | 38bd383848579a7d0f566dc295dc15fff1a7816f /emulators/pearpc | |
parent | a3d2c157e99d7a3b6a50306bccf565222b705149 (diff) |
Notes
Diffstat (limited to 'emulators/pearpc')
-rw-r--r-- | emulators/pearpc/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile index 13886a8619fe..a661c8328d82 100644 --- a/emulators/pearpc/Makefile +++ b/emulators/pearpc/Makefile @@ -28,8 +28,7 @@ PLIST_DIRS= %%DATADIR%% .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -O3 -ffast-math .else -CONFIGURE_ARGS+= --disable-fpo \ - --disable-release +CONFIGURE_ARGS+= --disable-fpo .endif # GTK and QT ui are broken in this version @@ -86,6 +85,9 @@ pre-everything:: @${ECHO_MSG} "" .endif +post-extract: + @${REINPLACE_CMD} -e 's|-g -O2||;s|-O2||' ${WRKSRC}/configure + post-configure: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/src/Makefile |