1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/siod/files/patch-aa
Joseph Koshy e272093d6d Scheme in one Day/Defun, a small footprint implementation of Scheme with
some database, unix programming and cgi scripting extensions.

Requested by:	 Philippe Laliberte <arsphl@oeil.qc.ca> on -ports
1999-04-28 09:45:39 +00:00

38 lines
914 B
Plaintext

--- makefile-- Fri Feb 20 18:22:04 1998
+++ makefile Wed Apr 28 13:02:03 1999
@@ -19,10 +19,10 @@
#
#
MANSEC=1
-MANDIR=$(IROOT)/usr/local/man/man$(MANSEC)
-BINDIR=$(IROOT)/usr/local/bin
-INCDIR=$(IROOT)/usr/local/include
-LIBDIR=$(IROOT)/usr/local/lib
+MANDIR=$(PREFIX)/man/man$(MANSEC)
+BINDIR=$(PREFIX)/bin
+INCDIR=$(PREFIX)/include
+LIBDIR=$(PREFIX)/lib
LIBSIODDIR=$(LIBDIR)/siod
CP_F=cp -f
# -Wmissing-prototypes
@@ -270,6 +270,19 @@
CFLAGS="$(CDEBUG)" \
LD_EXE_LIBS="-lm -ldl" \
build_driver
+
+## FreeBSD, possibly other BSDs
+freebsd:
+ $(MAKE) \
+ PROGS="siod tar.so parser_pratt.so ss.so \
+ regex.so" \
+ CFLAGS="$(CDEBUG) $(GCCW) -DHAVE_SYS_PARAM_H $(CFLAGS)" \
+ LD_LIB_LIBS="-lcrypt -lm" \
+ LD_LIB_FLAGS="-shared" \
+ LD_EXE_FLAGS="-rdynamic -Xlinker -rpath -Xlinker $(LIBDIR) -Xlinker -rpath -Xlinker $(LIBSIODDIR)" \
+ SO="so" \
+ build_driver
+
unknown:
-ln -s ssiod siod