summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-06-01 10:14:52 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-06-01 10:14:52 +0000
commitf86f3c24ed500063303beb6b3a96a01f88f0d025 (patch)
treed269e4a6655e26c5954dca2aa40771b906c4482e /cad
parentMark BROKEN: does not build with latest vi update. (diff)
- Make the port localbase-clean.
Reported by: QAT run
Notes
Notes: svn path=/head/; revision=234963
Diffstat (limited to 'cad')
-rw-r--r--cad/gspiceui/files/patch-src_Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/cad/gspiceui/files/patch-src_Makefile b/cad/gspiceui/files/patch-src_Makefile
index e53a6a51406b..84389617a6c5 100644
--- a/cad/gspiceui/files/patch-src_Makefile
+++ b/cad/gspiceui/files/patch-src_Makefile
@@ -5,7 +5,7 @@
# (Arguments can be passed to wx-config to specify the version of wxWidgets to
# use, whether unicode is required, etc.)
-WXCFG = wx-config --unicode --version=$(GSPICEUI_WXLIB)
-+WXCFG = /usr/local/bin/wxgtk2u-2.8-config
++WXCFG = %%WX_CONFIG%%
# Dependency file
DEPS = Makefile.deps
@@ -25,12 +25,12 @@
# Includes
-INCLUDES = -I/usr/include -I/usr/X11R6/include -I.
-+INCLUDES = -I/usr/include -I${LOCALBASE}/include -I. $(shell /usr/local/bin/wxgtk2u-2.8-config --cxxflags)
++INCLUDES = -I/usr/include -I${LOCALBASE}/include -I. $(shell %%WX_CONFIG%% --cxxflags)
# Libraries
# (The pkg-config stuff was requested by a user, somehow pangox was missing)
-LIBS := $(shell $(WXCFG) --libs) $(shell pkg-config --libs pangox)
-+LIBS := $(shell /usr/local/bin/wxgtk2u-2.8-config --libs) $(shell pkg-config --libs pangox)
++LIBS := $(shell %%WX_CONFIG%% --libs) $(shell pkg-config --libs pangox)
# Objects
OBJS := $(wildcard *.cpp) $(wildcard */*.cpp) $(wildcard */*/*.cpp)