openbsd-ports/lang/icon/interp/patches/patch-ipl_Makefile
espie d1d3f56d98 Update to icon 9.4.
Most local patches are no longer necessary.
Many thanks to Gregg Townsend for working with me on this one.
2001-07-03 13:13:02 +00:00

24 lines
866 B
Plaintext

$OpenBSD: patch-ipl_Makefile,v 1.1 2001/07/03 13:13:13 espie Exp $
--- ipl/Makefile.orig Sun Jul 1 13:14:58 2001
+++ ipl/Makefile Sun Jul 1 13:16:46 2001
@@ -1,13 +1,17 @@
# Makefile for the Icon Program Library
+include ../Makedefs
# Make a library distribution (portable ucode and include files).
Ilib: ../bin/libcfunc.so
../bin/libcfunc.so: ../bin/icont
- cp incl/*.icn gincl/*.icn cfuncs/icall.h ../lib
+ cp incl/*.icn cfuncs/icall.h ../lib
cd procs; LPATH= ../../bin/icont -usc *.icn; mv *.u? ../../lib
- cd gprocs; LPATH= ../../bin/icont -usc *.icn; mv *.u? ../../lib
+ if [ "x$(XL)" != "x" ]; then \
+ cp incl/*.icn gincl/*.icn cfuncs/icall.h ../lib; \
+ cd gprocs; LPATH= ../../bin/icont -usc *.icn; mv *.u? ../../lib; \
+ fi
cd cfuncs; LPATH= $(MAKE) ICONT=../../bin/icont
mv cfuncs/*.u? ../lib
mv cfuncs/libcfunc.so ../bin