diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 14:57:56 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 14:57:56 +0800 |
commit | cea38f8422a3eeac06b3ce4a5828580a5812d2cc (patch) | |
tree | 9703d7928f2f462fdf308bf7d14164f8f8459828 /graphics/gtkgraph | |
parent | 4495def283d3b8c777e1eb5b958cedb25b1aa16b (diff) | |
download | freebsd-ports-gnome-cea38f8422a3eeac06b3ce4a5828580a5812d2cc.tar.gz freebsd-ports-gnome-cea38f8422a3eeac06b3ce4a5828580a5812d2cc.tar.zst freebsd-ports-gnome-cea38f8422a3eeac06b3ce4a5828580a5812d2cc.zip |
Implement WANT_IMLIB and USE_IMLIB.
Diffstat (limited to 'graphics/gtkgraph')
-rw-r--r-- | graphics/gtkgraph/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/graphics/gtkgraph/Makefile b/graphics/gtkgraph/Makefile index fcea058fbdb8..713f81a31417 100644 --- a/graphics/gtkgraph/Makefile +++ b/graphics/gtkgraph/Makefile @@ -12,21 +12,17 @@ MASTER_SITES= http://gtkgraph.linuxave.net/ MAINTAINER= jedgar@FreeBSD.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ - intl.1:${PORTSDIR}/devel/gettext \ - gdk_imlib.5:${PORTSDIR}/graphics/imlib +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - -USE_GMAKE= yes USE_X_PREFIX= yes +USE_GMAKE= yes +USE_IMLIB= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-x -CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \ - GTK_CONFIG="${GTK_CONFIG}" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -pre-configure: - @${PERL} -pi.orig -e 's|-O2|${CFLAGS}|' ${WRKSRC}/configure +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; s|-O2|${CFLAGS}| ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure .include <bsd.port.mk> |