ports/188581: [PATCH] graphics/libgd: Add shebangfix so bdftogd doesn't use /usr/bin/perl and strip libgd
Steve Wills
swills at FreeBSD.org
Mon Apr 14 02:00:01 UTC 2014
>Number: 188581
>Category: ports
>Synopsis: [PATCH] graphics/libgd: Add shebangfix so bdftogd doesn't use /usr/bin/perl and strip libgd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 14 02:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Steve Wills
>Release: FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r264228M: Sun Apr 13 03:26:28 UTC
>Description:
- Add shebangfix so bdftogd doesn't use /usr/bin/perl
- Strip libgd
Port maintainer (dinoex at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:
--- libgd-2.1.0.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 351244)
+++ Makefile (working copy)
@@ -3,7 +3,7 @@
PORTNAME= libgd
PORTVERSION= 2.1.0
-PORTREVISION?= 1
+PORTREVISION?= 2
PORTEPOCH= 1
CATEGORIES+= graphics
MASTER_SITES= http://cdn.bitbucket.org/libgd/gd-libgd/downloads/
@@ -18,7 +18,8 @@
CONFLICTS= bazaar-1.*
-USES= tar:xz pkgconfig
+USES= tar:xz pkgconfig shebangfix
+SHEBANG_FILES= ${WRKSRC}/src/bdftogd
GNU_CONFIGURE= yes
GNU_CONFIGURE_ENV= PKG_CONFIG_LIBDIR=${LOCALBASE}/libdata/pkgconfig
GNU_CONFIGURE_ARGS=
@@ -105,5 +106,6 @@
post-install:
${INSTALL_DATA} ${WRKSRC}/src/gdhelpers.h \
${STAGEDIR}${PREFIX}/include/
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgd.so.5
.include <bsd.port.mk>
--- libgd-2.1.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list