aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-07-10 23:02:55 +0800
committerdinoex <dinoex@FreeBSD.org>2005-07-10 23:02:55 +0800
commitfbdf686e91283ca3e27d4980188cce5dffd26b72 (patch)
tree9afb62e9b7119f35b8fe84918013842ac26554ca /x11-toolkits
parent20c1f6c685c7763b98165056db6f8b762abac4ba (diff)
downloadfreebsd-ports-gnome-fbdf686e91283ca3e27d4980188cce5dffd26b72.tar.gz
freebsd-ports-gnome-fbdf686e91283ca3e27d4980188cce5dffd26b72.tar.zst
freebsd-ports-gnome-fbdf686e91283ca3e27d4980188cce5dffd26b72.zip
- 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