ports/170838: [patch] fix devel/yajl packing list

4721 at hushmail.com 4721 at hushmail.com
Wed Aug 22 00:50:10 UTC 2012


>Number:         170838
>Category:       ports
>Synopsis:       [patch] fix devel/yajl packing list
>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:   Wed Aug 22 00:50:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     4721 at hushmail.com
>Release:        
>Organization:
>Environment:
>Description:
yajl uses %%VERSION%% in the packing list but never defines it.

===>  Building package for yajl-2.0.4_1
tar: lib/libyajl.so.%%VERSION%%: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

pkg_delete: file '/usr/local/lib/libyajl.so.%%VERSION%%' doesn't exist
pkg_delete: couldn't entirely delete package `yajl-2.0.4_1'

list of extra files and directories in / (not present before this port was installed but present after it was deinstalled)
2896899       60 -rwxr-xr-x    1 root             wheel               29776 Aug 21 02:50 usr/local/lib/libyajl.so.2.0.4

fix attached.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: devel/yajl/Makefile
===================================================================
--- devel/yajl/Makefile	(revision 302833)
+++ devel/yajl/Makefile	(working copy)
@@ -22,6 +22,8 @@
 USE_LDCONFIG=	yes
 USE_CMAKE=	yes
 
+PLIST_SUB+=	VERSION="${PORTVERSION}"
+
 post-patch:
 	@${REINPLACE_CMD} -e "s,share/pkgconfig,libdata/pkgconfig,g" \
 		${WRKSRC}/src/CMakeLists.txt


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list