aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-01-28 18:42:47 +0800
committerreg <reg@FreeBSD.org>2000-01-28 18:42:47 +0800
commit4343763530ae53af2e5a62b89691e4e82d951ef9 (patch)
tree954c3ba4942258999f0e4c56a9ca5f68cf11977c /audio
parenta0442d0dfa53a08706e9b5c5653207a7a4cbe782 (diff)
downloadfreebsd-ports-gnome-4343763530ae53af2e5a62b89691e4e82d951ef9.tar.gz
freebsd-ports-gnome-4343763530ae53af2e5a62b89691e4e82d951ef9.tar.zst
freebsd-ports-gnome-4343763530ae53af2e5a62b89691e4e82d951ef9.zip
Correct usage of libc_r.
No response from: maintainer
Diffstat (limited to 'audio')
-rw-r--r--audio/kmpg/Makefile4
-rw-r--r--audio/kmpg/files/patch-ai13
2 files changed, 14 insertions, 3 deletions
diff --git a/audio/kmpg/Makefile b/audio/kmpg/Makefile
index c63ec9d50bc6..473702742c46 100644
--- a/audio/kmpg/Makefile
+++ b/audio/kmpg/Makefile
@@ -16,9 +16,7 @@ LIB_DEPENDS= kdecore.2:${PORTSDIR}/x11/kdelibs11 \
kdeui.2:${PORTSDIR}/x11/kdelibs11
USE_QT= yes
-GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS}" \
- INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+USE_LIBTOOL= yes
.include <bsd.port.mk>
diff --git a/audio/kmpg/files/patch-ai b/audio/kmpg/files/patch-ai
new file mode 100644
index 000000000000..8c63b8985605
--- /dev/null
+++ b/audio/kmpg/files/patch-ai
@@ -0,0 +1,13 @@
+--- configure.orig Sun Feb 7 04:05:54 1999
++++ configure Sat Sep 25 23:31:52 1999
+@@ -4004,7 +4004,9 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- LIBPTHREAD="-lc_r"
++ LIBPTHREAD="-pthread"
++ CFLAGS="$CFLAGS -D_THREAD_SAFE"
++ CXXFLAGS+="$CFLAGS -D_THREAD_SAFE"
+ else
+ echo "$ac_t""no" 1>&6
+ fi