call xmkmf with -DPorts to make sure we pick up the imake configuration

for ports
This commit is contained in:
naddy 2011-06-23 14:21:14 +00:00
parent b8e14b586f
commit a4ac447fca

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Imakefile,v 1.3 2010/08/23 17:25:47 jasper Exp $
--- Imakefile.orig Fri Jun 3 14:26:03 2005
+++ Imakefile Mon Aug 23 18:37:30 2010
$OpenBSD: patch-Imakefile,v 1.4 2011/06/23 14:21:14 naddy Exp $
--- Imakefile.orig Fri Jun 3 06:26:03 2005
+++ Imakefile Thu Jun 23 08:12:39 2011
@@ -97,12 +97,12 @@ XAWDEPENDS = \
brushOp.o chroma.o fileName.o fontSelect.o graphic.o help.o \
iprocess.o main.o menu.o misc.o operation.o pattern.o print.o size.o
@ -25,7 +25,7 @@ $OpenBSD: patch-Imakefile,v 1.3 2010/08/23 17:25:47 jasper Exp $
+ -$(RM) $(XAWDEPENDS) ; ln -sf ${X11BASE}/include/X11/Xaw xaw_incdir
+ echo "XAWLIB_DEFINES = -DXAWPLAIN" > Local.xawdefs
+ echo "SYS_LIBRARIES = XawClientLibs -lm" >> Local.xawdefs
+ xmkmf ; (cd rw ; xmkmf) ; make
+ xmkmf -DPorts ; (cd rw ; xmkmf -DPorts) ; make
@echo ""
@echo "'xpaint' compiled with Xaw widgets (old and ugly)"
@echo "You should rather use Xaw3d, neXtaw or Xaw95 !!"