summaryrefslogtreecommitdiff
path: root/lang/gcl/files/patch-h_FreeBSD.defs
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2009-12-07 22:00:26 +0000
committerMikhail Teterin <mi@FreeBSD.org>2009-12-07 22:00:26 +0000
commit59b74c075b55a2b3185c2ed3b88b778244a31f6c (patch)
tree18ac5ba557bb409b702752965b4a74f604d505dd /lang/gcl/files/patch-h_FreeBSD.defs
parentAdd libltdl dependency, that somehow missed in the previous commit (diff)
Let the healing begin by unbreaking. The main thing was to set DBEGIN to
0 as seems to happen with the upcoming version 2.6.8 (not released yet). Add minor patches to ensure clean build with `-Wall -Werror', proper definition of HZ, etc. Instead of explicitly specifying LIB_DEPENDS, convert to USE_TK. Leave the TCL_VER at 8.4 for now. Gentoo builds theirs for various platforms -- not just i386 -- so that would be the next step.
Diffstat (limited to 'lang/gcl/files/patch-h_FreeBSD.defs')
-rw-r--r--lang/gcl/files/patch-h_FreeBSD.defs5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcl/files/patch-h_FreeBSD.defs b/lang/gcl/files/patch-h_FreeBSD.defs
index e70cc2fe1098..a16a64c61534 100644
--- a/lang/gcl/files/patch-h_FreeBSD.defs
+++ b/lang/gcl/files/patch-h_FreeBSD.defs
@@ -5,7 +5,7 @@ retrieving revision 1.2.6.1.4.1
diff -u -d -r1.2.6.1.4.1 FreeBSD.defs
--- h/FreeBSD.defs 15 Jul 2004 16:28:43 -0000 1.2.6.1.4.1
+++ h/FreeBSD.defs 18 Aug 2004 16:29:43 -0000
-@@ -1,12 +1,16 @@
+@@ -1,12 +1,17 @@
-# Machine dependent makefile definitions for intel 386,486 running 386bsd
+# Machine dependent makefile definitions for 386bsd
# Ported to FreeBSD 2.0 by Jeffrey Hsu (hsu@freebsd.org).
@@ -20,7 +20,8 @@ diff -u -d -r1.2.6.1.4.1 FreeBSD.defs
-#LIBS = -lm -L/usr/local/lib
+#CFLAGS = @@.CFLAGS@@
+CFLAGS = @@CFLAGS@@
-+CFLAGS += -fomit-frame-pointer -fsigned-char -DVOL=volatile -I$(GCLDIR)/o -I${prefix}/include
++CFLAGS += -fomit-frame-pointer -fsigned-char -DVOL=volatile -I$(GCLDIR)/o -I${prefix}/include -Wall -Werror
++CFLAGS += -UDBEGIN -DDBEGIN=0
+#LIBS = @@.LOCALLIBS@@
+LIBS = @@LOCALLIBS@@
#ODIR_DEBUG=