aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmdrawer
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-04-08 02:30:47 +0800
committerijliao <ijliao@FreeBSD.org>2003-04-08 02:30:47 +0800
commit6b07ca2394ac6622c1772ae768cf65ed08e24da9 (patch)
tree1ad9bba953ed7c82e38ea5d401439ee956c7b3dd /x11/wmdrawer
parent5e583998d4d93f67a48a7d19ff30c13857beab35 (diff)
downloadfreebsd-ports-gnome-6b07ca2394ac6622c1772ae768cf65ed08e24da9.tar.gz
freebsd-ports-gnome-6b07ca2394ac6622c1772ae768cf65ed08e24da9.tar.zst
freebsd-ports-gnome-6b07ca2394ac6622c1772ae768cf65ed08e24da9.zip
add missing lib depends
Submitted by: Andy Harrison <ah54@httpsite.com>
Diffstat (limited to 'x11/wmdrawer')
-rw-r--r--x11/wmdrawer/Makefile6
-rw-r--r--x11/wmdrawer/files/patch-Makefile8
2 files changed, 10 insertions, 4 deletions
diff --git a/x11/wmdrawer/Makefile b/x11/wmdrawer/Makefile
index a3d712393380..7896e3e6ecc2 100644
--- a/x11/wmdrawer/Makefile
+++ b/x11/wmdrawer/Makefile
@@ -8,16 +8,20 @@
PORTNAME= wmdrawer
PORTVERSION= 0.9.17.1
+PORTREVISION= 1
CATEGORIES= x11 windowmaker
MASTER_SITES= http://people.easter-eggs.org/~valos/wmdrawer/
MAINTAINER= ports@FreeBSD.org
COMMENT= A dockapp which provides a drawer to launch applications
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
USE_X_PREFIX= yes
USE_GNOME= gtk20
USE_GMAKE= yes
-MAKE_ENV= DOCSDIR=${DOCSDIR}
+CFLAGS+= -I${LOCALBASE}/include
+MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" DOCSDIR=${DOCSDIR}
MANCOMPRESSED= yes
MAN1= wmdrawer.1x
diff --git a/x11/wmdrawer/files/patch-Makefile b/x11/wmdrawer/files/patch-Makefile
index dafc80cca518..e9dbf2bea460 100644
--- a/x11/wmdrawer/files/patch-Makefile
+++ b/x11/wmdrawer/files/patch-Makefile
@@ -1,5 +1,5 @@
--- Makefile.orig Fri Mar 28 01:08:16 2003
-+++ Makefile Sun Apr 6 12:31:26 2003
++++ Makefile Tue Apr 8 02:27:07 2003
@@ -3,13 +3,13 @@
DESTDIR =
@@ -19,15 +19,17 @@
ifdef USE_GDKPIXBUF
PIXBUF_DEF = -DUSE_GDKPIXBUF
-@@ -19,7 +19,7 @@
+@@ -19,8 +19,8 @@
ifdef USE_GDKPIXBUF2
PIXBUF_DEF = -DUSE_GDKPIXBUF2
-CFLAGS = -O3 -Wall `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/X11R6/include
+-LDFLAGS = `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
+CFLAGS += `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/X11R6/include
- LDFLAGS = `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
++LDFLAGS += `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
endif
+ PRGS = wmdrawer
@@ -40,10 +40,10 @@
$(RM) *.o $(PRGS)