diff options
author | hans <hans@pkgsrc.org> | 2012-02-01 22:16:50 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-01 22:16:50 +0000 |
commit | 2e33e623392b82670a725205652771301a5a7c02 (patch) | |
tree | f04c8bb8e61c3074c49ae18cbe6d1f7e7eff1072 /lang | |
parent | c112416a871ba968bf3c47150fcf19eecd4d5bd0 (diff) | |
download | pkgsrc-2e33e623392b82670a725205652771301a5a7c02.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.mk | 5 | ||||
-rw-r--r-- | lang/gcc46/buildlink3.mk | 5 |
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 |