ports/175528: [PATCH] fix install of graphics/gd
Niclas Zeising
zeising at daemonic.se
Wed Jan 23 12:30:01 UTC 2013
>Number: 175528
>Category: ports
>Synopsis: [PATCH] fix install of graphics/gd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 23 12:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Niclas Zeising
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD vivi.daemonic.se 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r243561M: Mon Nov 26 16:07:40 CET 2012 root at vivi.daemonic.se:/usr/obj/usr/src/sys/VIVI amd64
>Description:
The NOPROFILE option has been deprecated in favor of NO_PROFILE, but graphics/gd isn't updated. This causes the Makefile to try to install a profiled library libgd_p.a, but this library doesn't exist and the build/install fails.
>How-To-Repeat:
Build graphics/gd on a clean 10-current system.
>Fix:
Attached patch fixes the issue, renaming NOPROFILE to NO_PROFILE.
--- ports.gd.diff begins here ---
Index: graphics/gd/files/Makefile.bsd
===================================================================
--- graphics/gd/files/Makefile.bsd (revision 310861)
+++ graphics/gd/files/Makefile.bsd (working copy)
@@ -40,7 +40,7 @@
install:
mkdir -p ${PREFIX}/include
- ${MAKE} LIB=${LIB} LIBDIR=${PREFIX}/lib NOPROFILE=true \
+ ${MAKE} LIB=${LIB} LIBDIR=${PREFIX}/lib NO_PROFILE=true \
SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \
-f ${MAKEDIR}/bsd.lib.mk install
cd ${.CURDIR} && ${BSD_INSTALL_DATA} ${INCS} ${PREFIX}/include
--- ports.gd.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list