aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gtkgraph
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 14:57:56 +0800
committerreg <reg@FreeBSD.org>2000-10-05 14:57:56 +0800
commitcea38f8422a3eeac06b3ce4a5828580a5812d2cc (patch)
tree9703d7928f2f462fdf308bf7d14164f8f8459828 /graphics/gtkgraph
parent4495def283d3b8c777e1eb5b958cedb25b1aa16b (diff)
downloadfreebsd-ports-graphics-cea38f8422a3eeac06b3ce4a5828580a5812d2cc.tar.gz
freebsd-ports-graphics-cea38f8422a3eeac06b3ce4a5828580a5812d2cc.tar.zst
freebsd-ports-graphics-cea38f8422a3eeac06b3ce4a5828580a5812d2cc.zip
Implement WANT_IMLIB and USE_IMLIB.
Diffstat (limited to 'graphics/gtkgraph')
-rw-r--r--graphics/gtkgraph/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/graphics/gtkgraph/Makefile b/graphics/gtkgraph/Makefile
index fcea058fbdb..713f81a3141 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>