summaryrefslogtreecommitdiff
path: root/lang/gcc3-c
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-02-15 14:35:13 +0000
committerrillig <rillig@pkgsrc.org>2007-02-15 14:35:13 +0000
commite86c4508b7138e45e7ea555125502d9837c7a24f (patch)
treefd8fd75790d3ffea3126aa6c9f41f3aac3fb1f49 /lang/gcc3-c
parent0108860c9ae579f193ea0b9a59040f253aff8ad2 (diff)
downloadpkgsrc-e86c4508b7138e45e7ea555125502d9837c7a24f.tar.gz
Fixed pkglint warnings.
Diffstat (limited to 'lang/gcc3-c')
-rw-r--r--lang/gcc3-c/Makefile8
-rw-r--r--lang/gcc3-c/buildlink3.mk7
2 files changed, 8 insertions, 7 deletions
diff --git a/lang/gcc3-c/Makefile b/lang/gcc3-c/Makefile
index 4e2fd9b0c9c..f89d8f121b2 100644
--- a/lang/gcc3-c/Makefile
+++ b/lang/gcc3-c/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.19 2006/12/07 11:24:28 markd Exp $
+# $NetBSD: Makefile,v 1.20 2007/02/15 14:35:13 rillig Exp $
PKGNAME= gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION}
COMMENT= GNU Compiler Collection, v3 - C compiler
-INFO_FILES= # PLIST
+INFO_FILES= yes
.include "../../lang/gcc3/Makefile.common"
@@ -22,11 +22,11 @@ BUILD_TARGET= bootstrap
.endif
post-build:
- @${SED} ${FILES_SUBST_SED} ${FILESDIR}/gcc3.mk > ${WRKDIR}/gcc3.mk
+ ${SED} ${FILES_SUBST_SED} ${FILESDIR}/gcc3.mk > ${WRKDIR}/gcc3.mk
post-install:
.if ${OPSYS} == "SunOS"
- -cd ${GCC_ARCHDIR}/include && ${RM} -f fixed && ${RMDIR} v7 v9
+ cd ${GCC_ARCHDIR}/include && ${RM} -f fixed && ${RMDIR} v7 v9
.endif
${INSTALL_DATA_DIR} ${GCC_PREFIX}/mk
${INSTALL_DATA} ${WRKDIR}/gcc3.mk ${GCC_PREFIX}/mk/c.mk
diff --git a/lang/gcc3-c/buildlink3.mk b/lang/gcc3-c/buildlink3.mk
index 66785f0d9d0..5a249882c38 100644
--- a/lang/gcc3-c/buildlink3.mk
+++ b/lang/gcc3-c/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/12/12 21:52:36 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2007/02/15 14:35:16 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC3_C_BUILDLINK3_MK:= ${GCC3_C_BUILDLINK3_MK}+
@@ -14,6 +14,7 @@ BUILDLINK_PACKAGES+= gcc3-c
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc3-c
.if !empty(GCC3_C_BUILDLINK3_MK:M+)
+. include "../../mk/bsd.prefs.mk"
. if defined(GCC3_INSTALLTO_SUBPREFIX)
#
# "gcc3" is the directory named in pkgsrc/lang/gcc3-c/Makefile.common"
@@ -24,7 +25,7 @@ GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
. endif
. endif
BUILDLINK_API_DEPENDS.gcc3-c+= gcc3${GCC3_PKGMODIF}-c>=${_GCC_REQD}
-BUILDLINK_ABI_DEPENDS.gcc3-c?= gcc3-c>=3.3.5nb1
+BUILDLINK_ABI_DEPENDS.gcc3-c+= gcc3-c>=3.3.5nb1
BUILDLINK_PKGSRCDIR.gcc3-c?= ../../lang/gcc3-c
BUILDLINK_GCC3_LIBDIRS= lib
. if defined(GCC3_INSTALLTO_SUBPREFIX)
@@ -33,7 +34,7 @@ BUILDLINK_GCC3_LIBDIRS+= ${GCC3_INSTALLTO_SUBPREFIX}/lib
BUILDLINK_GCC3_LIBDIRS+= gcc3/lib
. endif
BUILDLINK_GCC3_LIBDIRS+= ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3-c}\///}
-BUILDLINK_LIBDIRS.gcc3-c?= ${BUILDLINK_GCC3_LIBDIRS}
+BUILDLINK_LIBDIRS.gcc3-c+= ${BUILDLINK_GCC3_LIBDIRS}
# Packages that link against shared libraries need a full dependency.
. if defined(_USE_GCC_SHLIB)