1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Fixed build with gcc 4.X

Approved by:	alexbl (mentor, implicit)
This commit is contained in:
Nicola Vitale 2007-02-06 10:08:45 +00:00
parent 6312fbdc1b
commit b2396e2303
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184358

View File

@ -1,16 +1,25 @@
--- Makefile Sun Jan 14 18:31:11 2007
+++ Makefile.port Wed Jan 17 00:16:41 2007
+++ Makefile.port Sun Feb 4 22:55:12 2007
@@ -1,7 +1,7 @@
TARGET=wbar
-CXXFLAGS=`imlib2-config --cflags` -Wall -O2 -DCOOLMACHINE_N_SHITCODE -DAVGFILTER #-DDOCKWIN
-LDFLAGS=`imlib2-config --libs` -Wl,-O2
-PREFIX=/usr/share/wbar
+CXXFLAGS+=`imlib2-config --cflags` -Wall -DCOOLMACHINE_N_SHITCODE -DAVGFILTER #-DDOCKWIN
+CXXFLAGS+=`imlib2-config --cflags` -Wall -DCOOLMACHINE_N_SHITCODE -DAVGFILTER #-DDOCKWIN
+LDFLAGS+=`imlib2-config --libs` -Wl
+DATADIR=%%DATADIR%%
sources= XWin.cc Icon.cc Bar.cc IconLoader.cc \
@@ -14,7 +14,7 @@
$(objects): $(headers) Makefile
$(TARGET): $(objects)
- g++ $(LDFLAGS) -o $(@) $(objects)
+ ${CXX} $(LDFLAGS) -o $(@) $(objects)
strip $(@)
patch-anim1:
@@ -29,11 +29,11 @@
exit 1; \
fi