From c76cf46929051f9dd322487d888c82f104026e6d Mon Sep 17 00:00:00 2001 From: Jeremy Lea Date: Thu, 5 Oct 2000 07:17:31 +0000 Subject: Implement USE_GNOME, part 2. --- math/rcalc/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'math/rcalc/Makefile') diff --git a/math/rcalc/Makefile b/math/rcalc/Makefile index e4b7fd4bdea2..a10d44da8d98 100644 --- a/math/rcalc/Makefile +++ b/math/rcalc/Makefile @@ -14,16 +14,15 @@ DISTNAME= rCalc-${PORTVERSION} MAINTAINER= jedgar@FreeBSD.org -LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOME= 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-patch: + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g' + .include -- cgit v1.2.3