Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2012 00:47:36 GMT
From:      "4721@hushmail.com" <4721@hushmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170838: [patch] fix devel/yajl packing list
Message-ID:  <201208220047.q7M0laV4032100@red.freebsd.org>
Resent-Message-ID: <201208220050.q7M0oAoX092241@freefall.freebsd.org>

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

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



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