1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-toolkits/iv/files/patch-ab
1994-09-24 15:33:58 +00:00

27 lines
768 B
Plaintext

*** makefile.old Sat Sep 24 06:49:19 1994
--- makefile Sat Sep 24 05:47:49 1994
***************
*** 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/X386/lib/X11/config -DTOPDIR=. -DCURDIR=.
+
+ .DEFAULT: src/Makefile
+ @$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' $@