pkgsrc-Bugs archive

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

pkg/38343: devel/libjudy: DESTDIR support (patch)



>Number:         38343
>Category:       pkg
>Synopsis:       devel/libjudy: DESTDIR support (patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 30 19:20: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) #2: 
Tue Dec 25 17:42:38 EET 2007 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libjudy/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile    13 Jun 2007 13:28:10 -0000      1.1.1.1
+++ Makefile    30 Mar 2008 19:14:49 -0000
@@ -16,11 +16,13 @@
 TEST_TARGET=           check
 
 DOCDIR=                        ${PREFIX}/share/doc/${PKGBASE}
-INSTALLATION_DIRS=     share/doc/${PKGBASE}
+AUTO_MKDIRS=           yes
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 
 post-install:
 .for i in AUTHORS ChangeLog COPYING README
-       ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCDIR}
+       ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${DOCDIR}
 .endfor
 
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libjudy/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- PLIST       13 Jun 2007 13:28:10 -0000      1.1.1.1
+++ PLIST       30 Mar 2008 19:14:49 -0000
@@ -94,7 +94,7 @@
 man/man3/JudySLNext.3
 man/man3/JudySLPrev.3
 man/man3/JudySL_funcs.3
-share/doc/${PKGBASE}/AUTHORS
-share/doc/${PKGBASE}/ChangeLog
-share/doc/${PKGBASE}/COPYING
-share/doc/${PKGBASE}/README
+share/doc/libjudy/AUTHORS
+share/doc/libjudy/ChangeLog
+share/doc/libjudy/COPYING
+share/doc/libjudy/README

>Fix:

Unknown


Home | Main Index | Thread Index | Old Index