diff options
author | novel <novel@FreeBSD.org> | 2005-11-17 21:22:30 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2005-11-17 21:22:30 +0800 |
commit | 8b8f7932f65bce672d67da58ea365797ab955527 (patch) | |
tree | a5054d6c2e397a79b0da2c660791c6b16bbeb94d | |
parent | 9e6a7431f4a3430d7a543a5c98d3ae5596da4d40 (diff) | |
download | freebsd-ports-gnome-8b8f7932f65bce672d67da58ea365797ab955527.tar.gz freebsd-ports-gnome-8b8f7932f65bce672d67da58ea365797ab955527.tar.zst freebsd-ports-gnome-8b8f7932f65bce672d67da58ea365797ab955527.zip |
An attempt to fix build on 4.x.
Reported by: pointyhat via kris
-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 |