summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorhans <hans>2012-02-01 22:16:50 +0000
committerhans <hans>2012-02-01 22:16:50 +0000
commitb028bf5ca71ffc52993fecfb8b66b140fcfd38b4 (patch)
treef04c8bb8e61c3074c49ae18cbe6d1f7e7eff1072 /lang
parent42fba811518762844069b08c8ab557ef8c2f2bd3 (diff)
downloadpkgsrc-b028bf5ca71ffc52993fecfb8b66b140fcfd38b4.tar.gz
Remove old BUILDLINK_FNAME_TRANSFORM, which seems to have been
cargo-culted from an older gcc package directly installing into ${PREFIX}. Add include/ to buildlinked files.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc45/buildlink3.mk5
-rw-r--r--lang/gcc46/buildlink3.mk5
2 files changed, 4 insertions, 6 deletions
diff --git a/lang/gcc45/buildlink3.mk b/lang/gcc45/buildlink3.mk
index 04fd3aced81..a5127584e3e 100644
--- a/lang/gcc45/buildlink3.mk
+++ b/lang/gcc45/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/05/14 20:19:46 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2012/02/01 22:22:57 hans Exp $
BUILDLINK_TREE+= gcc45
@@ -46,8 +46,7 @@ BUILDLINK_INCDIRS.gcc45+= ${_GCC45_SUBDIR}/include ${gcc45_GCC_ARCHDIR:S/^${BUIL
BUILDLINK_FILES_CMD.gcc45= \
(cd ${BUILDLINK_PREFIX.gcc45} && \
- ${FIND} ${_GCC45_SUBDIR}/bin ${_GCC45_SUBDIR}/libexec ${_GCC45_SUBDIR}/lib \( -type f -o -type l \) -print)
-BUILDLINK_FNAME_TRANSFORM.gcc45= -e s:buildlink:buildlink/gcc45:
+ ${FIND} ${_GCC45_SUBDIR}/bin ${_GCC45_SUBDIR}/include ${_GCC45_SUBDIR}/libexec ${_GCC45_SUBDIR}/lib \( -type f -o -type l \) -print)
# Packages that link against shared libraries need a full dependency.
.if defined(_USE_GCC_SHLIB)
diff --git a/lang/gcc46/buildlink3.mk b/lang/gcc46/buildlink3.mk
index 2090008d04a..b71fa87b9ea 100644
--- a/lang/gcc46/buildlink3.mk
+++ b/lang/gcc46/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2011/10/13 10:43:10 hans Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2012/02/01 22:16:50 hans Exp $
BUILDLINK_TREE+= gcc46
@@ -46,8 +46,7 @@ BUILDLINK_INCDIRS.gcc46+= ${_GCC46_SUBDIR}/include ${gcc46_GCC_ARCHDIR:S/^${BUIL
BUILDLINK_FILES_CMD.gcc46= \
(cd ${BUILDLINK_PREFIX.gcc46} && \
- ${FIND} ${_GCC46_SUBDIR}/bin ${_GCC46_SUBDIR}/libexec ${_GCC46_SUBDIR}/lib \( -type f -o -type l \) -print)
-BUILDLINK_FNAME_TRANSFORM.gcc46= -e s:buildlink:buildlink/gcc46:
+ ${FIND} ${_GCC46_SUBDIR}/bin ${_GCC46_SUBDIR}/include ${_GCC46_SUBDIR}/libexec ${_GCC46_SUBDIR}/lib \( -type f -o -type l \) -print)
# When not using the GNU linker, gcc will always link shared libraries
# against the shared version of libgcc. Always enable _USE_GCC_SHILB on