summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-05-06 16:39:36 +0000
committertijl <tijl@FreeBSD.org>2014-05-06 16:39:36 +0000
commita64958fdcdfd5ce2e7731429376720abc48c5228 (patch)
tree3bf659fd59e44d96345f08f46b3cdaac2551fb46
parentbc224344071fd06850d2a24029673dc502ae560b (diff)
downloadFreeBSD-ports-a64958fdcdfd5ce2e7731429376720abc48c5228.zip
FreeBSD-ports-a64958fdcdfd5ce2e7731429376720abc48c5228.tar.gz
- USES=libtool tar:bzip2.
- Remove dependency on devel/popt. - Remove patching of <malloc.h>.
-rw-r--r--print/libgnomeprint/Makefile16
-rw-r--r--print/libgnomeprint/pkg-plist1
2 files changed, 7 insertions, 10 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
index 7934694..06f2978 100644
--- a/print/libgnomeprint/Makefile
+++ b/print/libgnomeprint/Makefile
@@ -4,7 +4,7 @@
PORTNAME= libgnomeprint
PORTVERSION= 2.18.8
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -12,18 +12,16 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gnome print support library
-USE_BZIP2= yes
+USES= tar:bzip2
.if !defined(REFERENCE_PORT)
-LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
- libpopt.so:${PORTSDIR}/devel/popt
+LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
-USES= bison pathfix gettext gmake pkgconfig
-USE_GNOME= gnomeprefix intlhack gnomehier glib20 pango libxml2 \
- libartlgpl2 ltverhack
+GNU_CONFIGURE= yes
+USES+= bison gettext gmake libtool:keepla pathfix pkgconfig
+USE_GNOME= gnomeprefix intlhack glib20 pango libxml2 libartlgpl2
USE_LDCONFIG= yes
-USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -45,8 +43,6 @@ PLIST_SUB+= CUPS:="@comment "
.endif
post-patch:
- @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
- 's|<malloc[.]h>|<stdlib.h>|'
@${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "/^SUBDIRS =/s|doc||" ${WRKSRC}/Makefile.in
diff --git a/print/libgnomeprint/pkg-plist b/print/libgnomeprint/pkg-plist
index 2b3d0ea..8c067f0 100644
--- a/print/libgnomeprint/pkg-plist
+++ b/print/libgnomeprint/pkg-plist
@@ -39,6 +39,7 @@ lib/libgnomeprint-2-2.a
lib/libgnomeprint-2-2.la
lib/libgnomeprint-2-2.so
lib/libgnomeprint-2-2.so.0
+lib/libgnomeprint-2-2.so.0.1.0
lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-clip.a
lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-clip.la
lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-clip.so
OpenPOWER on IntegriCloud