summaryrefslogtreecommitdiff
path: root/lang/gpc
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-09-17 19:39:58 +0000
committergrant <grant@pkgsrc.org>2003-09-17 19:39:58 +0000
commitef6b520d88ddf2cfcef915cb37b22273df3d48dc (patch)
tree0fac5bcd059b9978cb00a239158f9a96c183b38c /lang/gpc
parent57801505ce91dec187bd482235072af86cde752d (diff)
downloadpkgsrc-ef6b520d88ddf2cfcef915cb37b22273df3d48dc.tar.gz
get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
Diffstat (limited to 'lang/gpc')
-rw-r--r--lang/gpc/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/lang/gpc/Makefile b/lang/gpc/Makefile
index c887cc7083b..39893116394 100644
--- a/lang/gpc/Makefile
+++ b/lang/gpc/Makefile
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.12 2003/08/09 10:59:12 seb Exp $
+# $NetBSD: Makefile,v 1.13 2003/09/17 19:40:41 grant Exp $
DISTNAME= gpc-2.1
PKGREVISION= 3
WRKSRC= ${WRKDIR}/gcc-2.95.3
CATEGORIES= lang
-MASTER_SITES= http://www.gnu-pascal.de/current/ \
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITES+= http://www.gnu-pascal.de/current/ \
${MASTER_SITE_GNU:=gcc/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= gcc-2.95.3.tar.gz
@@ -18,20 +19,21 @@ PATCHFILES= gcc-2.95.3-diff-2002-08-29.gz
BUILD_DEPENDS+= gsed-[0-9]*:../../textproc/gsed
+USE_BUILDLINK2= # defined
USE_GMAKE= # defined
USE_NCURSES= # defined
PLIST_SRC= PLIST
.include "../../mk/bsd.prefs.mk"
+GCC_REQD= 2.95.3
+
.if ${OPSYS} == "NetBSD"
CFLAGS+= -DNETBSD_NATIVE
GPC_PREFIX= ${PREFIX}
GPC_SUBPREFIX=
PLIST_SRC+= PLIST.netbsd
.else
-DEPENDS+= gcc-2.95.3*:../../lang/gcc
-USE_PKGSRC_GCC= # defined
GPC_PREFIX= ${_GCC_PREFIX}
GPC_SUBPREFIX= ${_GCC_SUBPREFIX}/
.endif
@@ -74,7 +76,4 @@ pre-patch:
pre-configure:
${MKDIR} ${BUILD_DIRS}
-.if ${OPSYS} != "NetBSD"
-.include "../../mk/gcc.buildlink2.mk"
-.endif
.include "../../mk/bsd.pkg.mk"