aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-06-23 05:52:34 +0800
committertijl <tijl@FreeBSD.org>2014-06-23 05:52:34 +0800
commit635520a00f418fb3f6b61368cc94acd17e15d758 (patch)
treee5e4386cf782848335534db7984c4acb433fd6b3 /graphics
parenta8026c7bbb20e6fb531c8465572dd2a6280b48e1 (diff)
downloadfreebsd-ports-gnome-635520a00f418fb3f6b61368cc94acd17e15d758.tar.gz
freebsd-ports-gnome-635520a00f418fb3f6b61368cc94acd17e15d758.tar.zst
freebsd-ports-gnome-635520a00f418fb3f6b61368cc94acd17e15d758.zip
Add USES=libtool:keepla pathfix.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gd/Makefile13
-rw-r--r--graphics/gd/pkg-plist1
2 files changed, 4 insertions, 10 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 5bbb6fa77d8f..8456566bdd6e 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -3,13 +3,13 @@
PORTNAME= libgd
PORTVERSION= 2.1.0
-PORTREVISION?= 3
+PORTREVISION?= 4
PORTEPOCH= 1
CATEGORIES+= graphics
MASTER_SITES= http://cdn.bitbucket.org/libgd/gd-libgd/downloads/
MAINTAINER?= dinoex@FreeBSD.org
-COMMENT?= A graphics library for fast creation of images
+COMMENT?= Graphics library for fast creation of images
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libtiff.so:${PORTSDIR}/graphics/tiff \
@@ -18,11 +18,9 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
CONFLICTS= bazaar-1.*
-USES= tar:xz pkgconfig shebangfix
+USES= libtool:keepla pathfix pkgconfig shebangfix tar:xz
SHEBANG_FILES= ${WRKSRC}/src/bdftogd
GNU_CONFIGURE= yes
-GNU_CONFIGURE_ENV= PKG_CONFIG_LIBDIR=${LOCALBASE}/libdata/pkgconfig
-GNU_CONFIGURE_ARGS=
USE_LDCONFIG= yes
OPTIONS_DEFINE= FONTCONFIG ICONV VPX XPM
@@ -40,7 +38,6 @@ XPM_CONFIGURE_OFF= --with-xpm=no
.include <bsd.port.options.mk>
-PKGCONFIGDIR?= ${LOCALBASE}/libdata/pkgconfig
# force gdlib-config --ldflags
LDFLAGS+= -L${LOCALBASE}/lib
@@ -73,10 +70,6 @@ pre-configure:
.if defined(GD_FONTS)
cd ${WRKFONTS} && ${SH} ${FILESDIR}/makefonts configure ${GD_FONTS}
.endif
- # force PKGCONFIGDIR
- ${REINPLACE_CMD} \
- -e 's|^pkgconfigdir =.*|pkgconfigdir = ${PKGCONFIGDIR}|' \
- ${WRKSRC}/config/Makefile.in
# bump shlib version
${REINPLACE_CMD} \
-e 's|GDLIB_CURRENT=.*|GDLIB_CURRENT=5|' \
diff --git a/graphics/gd/pkg-plist b/graphics/gd/pkg-plist
index 620c445ca1cb..6018d10e5c46 100644
--- a/graphics/gd/pkg-plist
+++ b/graphics/gd/pkg-plist
@@ -29,4 +29,5 @@ lib/libgd.a
lib/libgd.la
lib/libgd.so
lib/libgd.so.5
+lib/libgd.so.5.0.0
libdata/pkgconfig/gdlib.pc