diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-26 14:06:08 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-26 14:06:08 +0000 |
commit | 216b5a285fdcc1456a307fcc60f3507c20d613eb (patch) | |
tree | d0c8617b772b8f0a175d436d938b8d844590b41f /print/gnome-cups-manager/Makefile | |
parent | b829518a7d432b7cc2546fde7f032238d1db13dc (diff) |
Notes
Diffstat (limited to 'print/gnome-cups-manager/Makefile')
-rw-r--r-- | print/gnome-cups-manager/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/print/gnome-cups-manager/Makefile b/print/gnome-cups-manager/Makefile index c5cd794f488d..7145e7f231fc 100644 --- a/print/gnome-cups-manager/Makefile +++ b/print/gnome-cups-manager/Makefile @@ -19,11 +19,12 @@ RUN_DEPENDS= gnomesu:${PORTSDIR}/security/libgnomesu USES= gettext gmake libtool pathfix pkgconfig tar:bzip2 USE_GNOME= gnomeprefix intlhack libgnomeprintui libgnomeui USE_LDCONFIG= yes +USE_XORG= x11 INSTALLS_ICONS= yes INSTALL_TARGET= install-strip GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -D_IPP_PRIVATE_STRUCTURES -LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= -L${LOCALBASE}/lib post-patch: @${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ @@ -31,6 +32,8 @@ post-patch: > ${WRKSRC}/gnome-cups-manager.desktop @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|-D.*_DISABLE_DEPRECATED||g' + @${REINPLACE_CMD} '/^gnome_cups_icon_LDADD =/s/$$/ -lX11/' \ + ${WRKSRC}/gnome-cups-manager/Makefile.in @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ ${WRKSRC}/libgnomecups/gnome-cups-ui-driver.c @${REINPLACE_CMD} -e 's|glib/gmacros.h>|glib.h>|g' \ |