freebsd-ports/lang/gcl/files/patch-ad
1999-11-25 18:34:01 +00:00

35 lines
1.1 KiB
Plaintext

--- h/FreeBSD.defs.orig Wed May 3 10:02:24 1995
+++ h/FreeBSD.defs Thu Nov 25 11:59:14 1999
@@ -1,11 +1,12 @@
# Machine dependent makefile definitions for intel 386,486 running 386bsd
# Ported to FreeBSD 2.0 by Jeffrey Hsu (hsu@freebsd.org).
# Hacked September-93 by Paul F. Werkowski for 386BSD 0.1 + Patchkit 0.2.4
+# Adapted for gcl-2.3/FreeBSD 4.0 by Justin Seger (jseger@FreeBSD.org)
-LBINDIR=/usr/local/bin
+LBINDIR=${PREFIX}/bin
-OFLAG = -O2 -pipe
-LIBS = -lm
+OFLAG = -O
+LIBS = -lm -lcompat
ODIR_DEBUG=
NULLFILE=../h/twelve_null
@@ -13,12 +14,13 @@
# and also in the compiler::*cc* variable for later compilation of
# lisp files.
-CC = gcc -pipe -O -fwritable-strings -fomit-frame-pointer -DVOL=volatile -I$(GCLDIR)/o -I/usr/local/lib/gcl-2.0/h -fsigned-char
+CC = gcc -fwritable-strings -fomit-frame-pointer -DVOL=volatile -I$(GCLDIR)/o \
+ -fsigned-char
LDCC = $(CC) -static
# Use the mp.s file on 68k machine
-MPFILES= $(MPDIR)/mpi-386.o $(MPDIR)/libmport.a
+#MPFILES= $(MPDIR)/mpi-386.o $(MPDIR)/libmport.a
GNULIB1=/usr/lib/libgcc.a
# Enable the fastloading mechanism which does not use ld -A