summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-12 06:39:19 +0000
committerjlam <jlam@pkgsrc.org>2004-11-12 06:39:19 +0000
commit08bd1482c890f3a621b3f77885975cf276bb0264 (patch)
treeddbacf3026d39d6b23e622ac51745a4f7db32d44 /devel
parent3690d543baf9ce61bf3eeacf827697fb7dc431a9 (diff)
downloadpkgsrc-08bd1482c890f3a621b3f77885975cf276bb0264.tar.gz
Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're added
automatically by pthread.buildlink3.mk. Also, factor out the pthread library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS and use it in packages where necessary (usually the ones that don't have a GNU configure script).
Diffstat (limited to 'devel')
-rw-r--r--devel/glib/Makefile3
-rw-r--r--devel/librfuncs/Makefile6
-rw-r--r--devel/physfs/Makefile4
-rw-r--r--devel/stlport/Makefile3
-rw-r--r--devel/stlport/distinfo4
-rw-r--r--devel/stlport/patches/patch-aa8
6 files changed, 12 insertions, 16 deletions
diff --git a/devel/glib/Makefile b/devel/glib/Makefile
index 18881f92a62..7a5840da3f0 100644
--- a/devel/glib/Makefile
+++ b/devel/glib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.74 2004/10/05 12:12:57 minskim Exp $
+# $NetBSD: Makefile,v 1.75 2004/11/12 06:39:20 jlam Exp $
# FreeBSD Id: Makefile,v 1.2 1998/08/06 14:55:12 vanilla Exp
#
@@ -31,7 +31,6 @@ INFO_FILES= glib.info
TEST_TARGET= check
PTHREAD_OPTS+= require
-CFLAGS.FreeBSD+= ${PTHREAD_CFLAGS}
.include "../../mk/bsd.prefs.mk"
diff --git a/devel/librfuncs/Makefile b/devel/librfuncs/Makefile
index 232d1f30488..80eda3b0f25 100644
--- a/devel/librfuncs/Makefile
+++ b/devel/librfuncs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/11/08 11:10:00 shannonjr Exp $
+# $NetBSD: Makefile,v 1.7 2004/11/12 06:39:20 jlam Exp $
#
DISTNAME= librfuncs-1.0.5
@@ -18,12 +18,10 @@ USE_LIBTOOL= yes
TEST_TARGET= check
.include "../../mk/pthread.buildlink3.mk"
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
CONFIGURE_ARGS+= --disable-threads
.else
CONFIGURE_ARGS+= --enable-threads
-CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LDFLAGS}
.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/physfs/Makefile b/devel/physfs/Makefile
index ffa4a6cd26d..f9d1ad9f0d6 100644
--- a/devel/physfs/Makefile
+++ b/devel/physfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/10/03 00:13:32 tv Exp $
+# $NetBSD: Makefile,v 1.9 2004/11/12 06:39:20 jlam Exp $
#
DISTNAME= physfs-1.0.0
@@ -16,8 +16,6 @@ USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_GCC_SHLIB= yes
-CONFIGURE_ARGS+= LIBS="${PTHREAD_LDFLAGS}"
-
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
diff --git a/devel/stlport/Makefile b/devel/stlport/Makefile
index db73701b6d9..048a3829c75 100644
--- a/devel/stlport/Makefile
+++ b/devel/stlport/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/10/03 00:13:33 tv Exp $
+# $NetBSD: Makefile,v 1.20 2004/11/12 06:39:20 jlam Exp $
DISTNAME= STLport-4.6
PKGNAME= stlport-4.6
@@ -22,6 +22,7 @@ MAKE_ENV+= CXXFLAGS="${CXXFLAGS}"
MAKEFILE= gcc-libtool.mak
PTHREAD_OPTS+= require
+LDFLAGS+= ${PTHREAD_LIBS}
INCDIR= ${PREFIX}/include/stlport
LIBDIR= ${PREFIX}/lib
diff --git a/devel/stlport/distinfo b/devel/stlport/distinfo
index 1b1a2707e91..5219ad5cb3c 100644
--- a/devel/stlport/distinfo
+++ b/devel/stlport/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2004/01/05 22:14:18 mrauch Exp $
+$NetBSD: distinfo,v 1.7 2004/11/12 06:39:20 jlam Exp $
SHA1 (STLport-4.6.tar.gz) = 55401b648bebc0b7b6b4e3d7b4e420d22c358af9
Size (STLport-4.6.tar.gz) = 756708 bytes
-SHA1 (patch-aa) = 1fa541c702ac3edf67f9085343101fddd860409b
+SHA1 (patch-aa) = 9fb8af22933c925393bdcfb60988d100822501d7
SHA1 (patch-aj) = 67dd73dcf5a41dd2da38e58363a05f7f54709124
SHA1 (patch-ak) = ce55c80bc369bf9a8c20d751293197b71fbf4ed8
SHA1 (patch-al) = d8331d464c810ea8cdeba5cb3fe1e34dea707761
diff --git a/devel/stlport/patches/patch-aa b/devel/stlport/patches/patch-aa
index dc14b342b9c..aade90c03de 100644
--- a/devel/stlport/patches/patch-aa
+++ b/devel/stlport/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2004/01/05 22:14:18 mrauch Exp $
+$NetBSD: patch-aa,v 1.5 2004/11/12 06:39:20 jlam Exp $
--- src/gcc-libtool.mak.orig 2004-01-04 10:44:33.000000000 +0100
+++ src/gcc-libtool.mak
@@ -23,9 +23,9 @@ $NetBSD: patch-aa,v 1.4 2004/01/05 22:14:18 mrauch Exp $
+# guts for common stuff
+#
+#
-+LINK=$(LIBTOOL) $(CXX) $(LDFLAGS) $(PTHREAD_LDFLAGS) -o
++LINK=$(LIBTOOL) $(CXX) $(LDFLAGS) -o
+# 2.95 flag
-+DYN_LINK=$(LIBTOOL) $(CXX) $(LDFLAGS) $(PTHREAD_LDFLAGS) -rpath $(PREFIX)/lib -version-info $(VERSION_MAJOR):$(VERSION_MINOR) -shared -o
++DYN_LINK=$(LIBTOOL) $(CXX) $(LDFLAGS) -rpath $(PREFIX)/lib -version-info $(VERSION_MAJOR):$(VERSION_MINOR) -shared -o
+
+OBJEXT=lo
+DYNEXT=la
@@ -42,7 +42,7 @@ $NetBSD: patch-aa,v 1.4 2004/01/05 22:14:18 mrauch Exp $
+
+WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32
+
-+CXXFLAGS_COMMON = ${CXXFLAGS} ${CPPFLAGS} $(PTHREAD_CFLAGS) -I${STLPORT_DIR} ${WARNING_FLAGS}
++CXXFLAGS_COMMON = ${CXXFLAGS} ${CPPFLAGS} -I${STLPORT_DIR} ${WARNING_FLAGS}
+
+CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2
+CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2