diff options
author | jlam <jlam@pkgsrc.org> | 2002-02-08 06:24:12 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-02-08 06:24:12 +0000 |
commit | c543d815f426afd89341637842a7580c2052e821 (patch) | |
tree | 31c7ba6417978e97d483d23a5441f2376e1469ff /devel | |
parent | 51cc1f3f79295a580f57aeede022d940cf261799 (diff) | |
download | pkgsrc-c543d815f426afd89341637842a7580c2052e821.tar.gz |
We don't actually need to symlink anything as pgcc and pg++ already
handle everything for us. Invoking "pgcc" is equivalent to invoking
"cc -pthread" on other platforms. Change the buildlink.mk file to
appropriately define CC and CXX to pgcc and pg++, respectively.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/unproven-pthreads/buildlink.mk | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/devel/unproven-pthreads/buildlink.mk b/devel/unproven-pthreads/buildlink.mk index a89f8a214bb..619ac58e665 100644 --- a/devel/unproven-pthreads/buildlink.mk +++ b/devel/unproven-pthreads/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.1 2002/02/08 00:13:57 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.2 2002/02/08 06:24:12 jlam Exp $ # # This Makefile fragment is included by packages that use unproven-pthreads. # @@ -22,15 +22,8 @@ DEPENDS+= ${BUILDLINK_DEPENDS.unproven-pthreads}:../../devel/unproven-pthreads EVAL_PREFIX+= BUILDLINK_PREFIX.unproven-pthreads=unproven-pthreads BUILDLINK_PREFIX.unproven-pthreads_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.unproven-pthreads= pthreads/bin/* -BUILDLINK_FILES.unproven-pthreads+= pthreads/include/*.h -BUILDLINK_FILES.unproven-pthreads+= pthreads/include/*/*.h -BUILDLINK_FILES.unproven-pthreads+= pthreads/lib/* -BUILDLINK_TARGETS.unproven-pthreads= unproven-pthreads-buildlink -BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.unproven-pthreads} - -pre-configure: ${BUILDLINK_TARGETS.unproven-pthreads} -unproven-pthreads-buildlink: _BUILDLINK_USE +CC= ${BUILDLINK_PREFIX.unproven-pthreads}/pthreads/bin/pgcc +CXX= ${BUILDLINK_PREFIX.unproven-pthreads}/pthreads/bin/pg++ .endif # UNPROVEN_PTHREADS_BUILDLINK_MK |