openbsd-ports/cad/kicad/patches/patch-3d-viewer_makefile_gtk
steven 19e5b0630b import kicad-2006-08-28
Kicad is an open source software for the creation of electronic schematic
diagrams and printed circuit board artwork.

with some ideas from freebsd.
also tested by Antti Harri <iku at openbsd.fi>, thanks
2007-01-09 16:12:55 +00:00

14 lines
439 B
Plaintext

$OpenBSD: patch-3d-viewer_makefile_gtk,v 1.1.1.1 2007/01/09 16:12:55 steven Exp $
--- 3d-viewer/makefile.gtk.orig Thu Jan 4 14:25:38 2007
+++ 3d-viewer/makefile.gtk Thu Jan 4 14:26:13 2007
@@ -3,7 +3,8 @@ CC = gcc
# Compiler flags.
-CPPFLAGS = -Wall -O2 -DPCBNEW -I../pcbnew -I ../include -I../common\
+CPPFLAGS = -Wall -DPCBNEW -I../pcbnew -I ../include -I../common\
+ -I${X11BASE}/include \
`wx-config --cxxflags`