diff options
author | nivit <nivit@FreeBSD.org> | 2007-02-06 18:08:45 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2007-02-06 18:08:45 +0800 |
commit | 7484ff7e98703f198ff974b27cab5e2590d3d579 (patch) | |
tree | 3ae4e4f782545c431b549f26360e963f49d54ad1 | |
parent | 032124513acb5e186a1500a435ecf5f5425793a2 (diff) | |
download | freebsd-ports-gnome-7484ff7e98703f198ff974b27cab5e2590d3d579.tar.gz freebsd-ports-gnome-7484ff7e98703f198ff974b27cab5e2590d3d579.tar.zst freebsd-ports-gnome-7484ff7e98703f198ff974b27cab5e2590d3d579.zip |
- Fixed build with gcc 4.X
Approved by: alexbl (mentor, implicit)
-rw-r--r-- | x11/wbar/files/patch-Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/x11/wbar/files/patch-Makefile b/x11/wbar/files/patch-Makefile index 9240352eeceb..1bc176ee7a76 100644 --- a/x11/wbar/files/patch-Makefile +++ b/x11/wbar/files/patch-Makefile @@ -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 |