From bebd89314e57ff34ea47724c5605a0f32c425dcf Mon Sep 17 00:00:00 2001 From: Jeremy Lea Date: Thu, 5 Oct 2000 06:57:56 +0000 Subject: Implement WANT_IMLIB and USE_IMLIB. --- graphics/gview/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'graphics/gview') diff --git a/graphics/gview/Makefile b/graphics/gview/Makefile index 2191eb33fe7c..3bd835aa3255 100644 --- a/graphics/gview/Makefile +++ b/graphics/gview/Makefile @@ -14,15 +14,17 @@ MASTER_SITES= http://netpedia.net/hosting/gview/ \ MAINTAINER= cpiazza@FreeBSD.org -LIB_DEPENDS= gdk_imlib.5:${PORTSDIR}/graphics/imlib - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes +USE_IMLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" \ - GTK_CONFIG="${GTK_CONFIG}" + LIBS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure post-install: .if !defined(NOPORTDOCS) -- cgit v1.2.3