summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-07-10 15:02:55 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-07-10 15:02:55 +0000
commit61b4f17392ecc34b7529d6aa072d711ba5ff6370 (patch)
tree598c671ba6197c708ff7a628c26dee7f9d07241d /x11-toolkits
parentUpdate to 1.0.4. (diff)
- fix build on STABLE when libphtread does exists
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gnustep-gui/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile
index 712944d2df04..9cb3f9f80a21 100644
--- a/x11-toolkits/gnustep-gui/Makefile
+++ b/x11-toolkits/gnustep-gui/Makefile
@@ -57,9 +57,11 @@ pre-configure:
.for file in config.guess config.sub install-sh
@${CP} ${PREFIX}/System/Makefiles/${file} ${WRKSRC}
.endfor
- ${REINPLACE_CMD} -e "s|-lphread|${PTHREAD_LIBS}|" -e "s|CFLAGS =|CFLAGS+=|" \
+ ${REINPLACE_CMD} -e "s|-lphtread|${PTHREAD_LIBS}|g" -e "s|CFLAGS =|CFLAGS+=|" \
-e "s|-Wall|-Wall ${PTHREAD_CFLAGS:S=""==}|" \
${WRKSRC}/Tools/gsnd/portaudio/pa_unix_oss/Makefile
+ ${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
+ ${WRKSRC}/Tools/gsnd/GNUmakefile.postamble
.if !defined(NOPORTDOCS)
${REINPLACE_CMD} -e "s|doc=no|doc=yes|" ${WRKSRC}/GNUmakefile
.endif