From a4ac447fcaabe3d171896a722fca01371fd4ecca Mon Sep 17 00:00:00 2001 From: naddy Date: Thu, 23 Jun 2011 14:21:14 +0000 Subject: [PATCH] call xmkmf with -DPorts to make sure we pick up the imake configuration for ports --- graphics/xpaint/patches/patch-Imakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/graphics/xpaint/patches/patch-Imakefile b/graphics/xpaint/patches/patch-Imakefile index 330fe939d3f..9c069b57385 100644 --- a/graphics/xpaint/patches/patch-Imakefile +++ b/graphics/xpaint/patches/patch-Imakefile @@ -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 !!"