Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2013 13:27:30 +0100 (CET)
From:      Niclas Zeising <zeising@daemonic.se>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175528: [PATCH] fix install of graphics/gd
Message-ID:  <201301231227.r0NCRUuH068358@vivi.daemonic.se>
Resent-Message-ID: <201301231230.r0NCU1ul029050@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301231227.r0NCRUuH068358>