From 52a77a62809567dee37ed2b3f7f201d59aea3893 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 7 Apr 2003 18:30:47 +0000 Subject: add missing lib depends Submitted by: Andy Harrison --- x11/wmdrawer/Makefile | 6 +++++- x11/wmdrawer/files/patch-Makefile | 8 +++++--- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'x11/wmdrawer') 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) -- cgit v1.2.3