pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/pforth Convert to buildlink3, and make build with...
details: https://anonhg.NetBSD.org/pkgsrc/rev/01b252607fe0
branches: trunk
changeset: 475598:01b252607fe0
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu May 20 18:54:23 2004 +0000
description:
Convert to buildlink3, and make build with gcc3.
Closes PR 25651 by Georg Schwarz.
diffstat:
lang/pforth/Makefile | 3 ++-
lang/pforth/distinfo | 4 ++--
lang/pforth/patches/patch-aa | 18 +++++++++---------
3 files changed, 13 insertions(+), 12 deletions(-)
diffs (95 lines):
diff -r 93d8d0ee1714 -r 01b252607fe0 lang/pforth/Makefile
--- a/lang/pforth/Makefile Thu May 20 17:41:39 2004 +0000
+++ b/lang/pforth/Makefile Thu May 20 18:54:23 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2004/01/24 13:51:14 grant Exp $
+# $NetBSD: Makefile,v 1.12 2004/05/20 18:54:23 wiz Exp $
DISTNAME= pfthpc21
PKGNAME= pforth-21
@@ -12,6 +12,7 @@
WRKSRC= ${WRKDIR}
USE_GNU_TOOLS+= make
+USE_BUILDLINK3= yes
MAKEFILE= ${WRKSRC}/makefile
NOT_FOR_PLATFORM= *-*-alpha #segfaults when running ./pforth during build
diff -r 93d8d0ee1714 -r 01b252607fe0 lang/pforth/distinfo
--- a/lang/pforth/distinfo Thu May 20 17:41:39 2004 +0000
+++ b/lang/pforth/distinfo Thu May 20 18:54:23 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2001/06/20 06:53:40 jtb Exp $
+$NetBSD: distinfo,v 1.4 2004/05/20 18:54:23 wiz Exp $
SHA1 (pfthpc21.zip) = 550de4405f593004ff6e957a1c294bd801167e5b
Size (pfthpc21.zip) = 295565 bytes
-SHA1 (patch-aa) = 09b7fd486721664ff20d0260b43b8dfab727bc15
+SHA1 (patch-aa) = 8e2c5bcde82e078f341db25d12b79e667cf76c54
SHA1 (patch-ab) = bce3729fabfd196b11562ccdc2e559455e29176e
diff -r 93d8d0ee1714 -r 01b252607fe0 lang/pforth/patches/patch-aa
--- a/lang/pforth/patches/patch-aa Thu May 20 17:41:39 2004 +0000
+++ b/lang/pforth/patches/patch-aa Thu May 20 18:54:23 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2001/06/20 06:53:41 jtb Exp $
+$NetBSD: patch-aa,v 1.3 2004/05/20 18:54:23 wiz Exp $
---- makefile.orig Mon Apr 6 17:13:12 1998
+--- makefile.orig 1998-04-06 17:13:12.000000000 +0200
+++ makefile
-@@ -12,7 +12,7 @@
+@@ -12,7 +12,7 @@ SOURCEDIR = csrc
OBJECTDIR = objects
EMBOBJECTDIR = embobjects
@@ -11,7 +11,7 @@
-fsigned-char \
-fno-builtin \
-fno-unroll-loops \
-@@ -26,8 +26,9 @@
+@@ -26,8 +26,9 @@ FULL_WARNINGS = -O2 \
-Wmissing-prototypes \
-Wmissing-declarations
@@ -23,12 +23,12 @@
EMBCCOPTS = -DPF_NO_INIT -DPF_NO_MALLOC -DPF_NO_FILEIO \
-DPF_NO_CLIB -DPF_STATIC_DIC
-@@ -41,13 +42,13 @@
+@@ -41,13 +42,13 @@ PFTEMP = ${PFSOURCE:%.c=%.o}
PFOBJS = ${PFTEMP:${SOURCEDIR}/%=${OBJECTDIR}/%}
PFEMBOBJS = ${PFTEMP:${SOURCEDIR}/%=${EMBOBJECTDIR}/%}
-COMPILE = $(COMPILER) $(CCOPTS) $(CDEFS)
-+COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) $(CDEFS)
++COMPILE = $(CXX) $(CPPFLAGS) $(CFLAGS) $(CDEFS)
${OBJECTDIR}/%.o: $(PFINCLUDES) ${SOURCEDIR}/%.c
- $(COMPILE) -O -o ${OBJECTDIR}/$*.o -c ${SOURCEDIR}/$*.c
@@ -41,7 +41,7 @@
all: pforth pforth.dic
-@@ -62,26 +63,26 @@
+@@ -62,26 +63,26 @@ pffiles:
echo ${PFOBJS}
echo "EMBEDDED OBJECT FILES ------------------"
echo ${PFEMBOBJS}
@@ -50,7 +50,7 @@
# build pforth by compiling 'C' source
pforth: $(PFINCLUDES) $(PFOBJS)
- $(COMPILER) $(PFOBJS) -lm -o pforth
-+ $(CC) $(PFOBJS) -lm -o pforth
++ $(CXX) $(PFOBJS) -lm -o pforth
# build basic dictionary by running newly built pforth and including system.fth
pforth.dic: pforth
@@ -69,7 +69,7 @@
pfemb: $(PFINCLUDES) $(PFEMBOBJS)
- $(COMPILER) $(PFEMBOBJS) -lm -o pfemb
-
-+ $(CC) $(PFEMBOBJS) -lm -o pfemb
++ $(CXX) $(PFEMBOBJS) -lm -o pfemb
+
clean:
rm -f $(PFOBJS) $(PFEMBOBJS) pforth *.dic core ${SOURCEDIR}/pfdicdat.h pfemb
Home |
Main Index |
Thread Index |
Old Index