From ddda5ed61be63fae22938ebe686c49beb6fa76a5 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Sun, 5 Nov 2006 03:43:41 +0000 Subject: -INSTALLS_SHLIB -> USE_LDCONFIG.[1] -Find cups modules in the correct path. -Bump the PORTREVISION. Found by: portlint (cports.sh)[1] --- print/gnome-cups-manager/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/print/gnome-cups-manager/Makefile b/print/gnome-cups-manager/Makefile index 8f1b58d53468..7e56626526c0 100644 --- a/print/gnome-cups-manager/Makefile +++ b/print/gnome-cups-manager/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnome-cups-manager PORTVERSION= 0.31 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= print gnome MASTER_SITES= ${MASTER_SITE_GNOME} @@ -27,7 +27,7 @@ USE_GNOME= gnomeprefix gnomehack intlhack libgnomeprintui libgnomeui \ desktopfileutils USE_GETTEXT= yes INSTALLS_ICONS= yes -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" @@ -38,6 +38,8 @@ post-patch: > ${WRKSRC}/gnome-cups-manager.desktop @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|-D.*_DISABLE_DEPRECATED||g' + @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ + ${WRKSRC}/libgnomecups/gnome-cups-ui-driver.c post-install: ${MKDIR} ${PREFIX}/share/gnome/applications -- cgit v1.2.3