1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/x11-toolkits/iv/files/patch-ba
Steve Price 854635b423 Correct build on ELF and add maintainer.
PR:		9594
Submitted by:	Seigou Tanimura <tanimura@naklab.dnj.ynu.ac.jp>
1999-01-26 02:40:32 +00:00

25 lines
725 B
Plaintext

--- makefile.orig Sun Jan 17 20:56:19 1999
+++ makefile Sun Jan 17 20:48:39 1999
@@ -0,0 +1,21 @@
+CPU=FREEBSD
+
+all: src/Makefile
+ @$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)'
+
+# simple but brutal. Will not install to multiple destinations simultaneously.
+install: Makefile
+ @rm -rf installed ${DESTDIR}/usr/local/interviews
+ @mkdir -p ${DESTDIR}/usr/local/interviews
+ @ln -s ${DESTDIR}/usr/local/interviews installed
+ @$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' $@
+
+src/Makefile: Makefile
+ @$(MAKE) Makefiles
+
+Makefile:
+ imake -T "InterViews/template" -I./src/config \
+ -I/usr/X11R6/lib/X11/config -DTOPDIR=. -DCURDIR=.
+
+.DEFAULT: src/Makefile
+ @$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' $@