summaryrefslogtreecommitdiff
path: root/lang/gcc3
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-09-10 19:53:51 +0000
committerjlam <jlam@pkgsrc.org>2004-09-10 19:53:51 +0000
commit4825e39a78cac499a1881b853bbe138c8bbceb44 (patch)
treedf142cec86d3209188da727daf06156b055c7412 /lang/gcc3
parent5073201af908ffcc303a3a184c6d544a84d694a1 (diff)
downloadpkgsrc-4825e39a78cac499a1881b853bbe138c8bbceb44.tar.gz
Set LIBTOOLIZE_PLIST to "yes" and remove obsolete code that performed the
same function.
Diffstat (limited to 'lang/gcc3')
-rw-r--r--lang/gcc3/language.mk24
1 files changed, 3 insertions, 21 deletions
diff --git a/lang/gcc3/language.mk b/lang/gcc3/language.mk
index 3b86a64b132..aa8428e180b 100644
--- a/lang/gcc3/language.mk
+++ b/lang/gcc3/language.mk
@@ -1,34 +1,16 @@
-# $NetBSD: language.mk,v 1.2 2004/09/08 10:22:01 jlam Exp $
+# $NetBSD: language.mk,v 1.3 2004/09/10 19:53:51 jlam Exp $
BUILDLINK_DEPENDS.gcc3-c+= gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION}{,nb*}
BUILDLINK_DEPMETHOD.gcc3-c+= full
.include "../../lang/gcc3/Makefile.common"
+LIBTOOLIZE_PLIST= yes
+
pre-build:
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h
${RM} -f ${WRKSRC}/libiberty/libiberty.a ${WRKSRC}/gcc/xgcc
${LN} -s ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty
${LN} -s ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
-.if exists(${PKGDIR}/PLIST)
-GCC_PLIST_AWK_SCRIPT= '
-GCC_PLIST_AWK_SCRIPT+= ${_PLIST_AWK_SUBST}
-GCC_PLIST_AWK_SCRIPT+= \
- /\.la$$/ { \
- lafile = "${PREFIX}/" $$0; \
- dir = $$0; \
- sub("/[^/]*\.la$$", "", dir); \
- system("( . " lafile "; for lib in $$library_names $$old_library; do ${ECHO} " dir "/$$lib; done; ${ECHO} " $$0 " ) | ${SORT} -u"); \
- next; \
- }
-GCC_PLIST_AWK_SCRIPT+= { print $$0; }
-GCC_PLIST_AWK_SCRIPT+= '
-PLIST_SRC= ${WRKDIR}/.PLIST_SRC
-
-post-install: gcc-plist
-gcc-plist:
- @${CAT} ${PKGDIR}/PLIST | ${AWK} ${GCC_PLIST_AWK_SCRIPT} > ${PLIST_SRC}
-.endif
-
.include "../../lang/gcc3-c/buildlink3.mk"