pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38522: DESTDIR support for devel/cvsps



>Number:         38522
>Category:       pkg
>Synopsis:       DESTDIR support for devel/cvsps
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 27 08:55:00 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #3: 
Wed Apr 23 00:58:08 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
http://www.mova.org/~cheusov/pub/pkgsrc-pbulk/NetBSD/current-destdir/log/20080426.0859/devel/cvsps/stage_package.html

=> Creating installation directories
[ -d /usr/pkg/bin ] || mkdir -p /usr/pkg/bin
[ -d /usr/pkg/man/man1 ] || mkdir -p /usr/pkg/man/man1
install cvsps /usr/pkg/bin
install -m 644 cvsps.1 /usr/pkg/share/man/man1
=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat 
`/tmp/obj-pkgsrc-destdir/devel/cvsps/work/.destdir/usr/pkg/bin/cvsps'
pkg_create: can't stat 
`/tmp/obj-pkgsrc-destdir/devel/cvsps/work/.destdir/usr/pkg/share/man/man1/cvsps.1'
=> Checking file-check results for cvsps-2.1nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         
/tmp/obj-pkgsrc-destdir/devel/cvsps/work/.destdir/usr/pkg/bin/cvsps
ERROR:         
/tmp/obj-pkgsrc-destdir/devel/cvsps/work/.destdir/usr/pkg/share/man/man1/cvsps.1
*** Error code 1

Stop.
make: stopped in /srv/pkgsrc/devel/cvsps
*** Error code 1

>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/cvsps/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile    17 Feb 2007 20:59:48 -0000      1.20
+++ Makefile    27 Apr 2008 08:52:36 -0000
@@ -11,6 +11,7 @@
 COMMENT=       Generates 'patchset' information from a CVS repository
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_TOOLS+=            gmake
 
@@ -18,6 +19,7 @@
 
 LIBS.SunOS+=           -lnsl -lsocket
 MAKE_ENV+=             LIBS=${LIBS:M*:Q}
+MAKE_ENV+=             prefix=${DESTDIR}${PREFIX}
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index