Skip to content

Commit

Permalink
call xmkmf with -DPorts to make sure we pick up the imake configuration
Browse files Browse the repository at this point in the history
for ports
  • Loading branch information
Christian Weisgerber committed Jun 23, 2011
1 parent 4ae53bd commit 5a1d775
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions graphics/xpaint/patches/patch-Imakefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 !!"

0 comments on commit 5a1d775

Please sign in to comment.