pkgsrc-Bugs archive

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

pkg/39981: audio/id3: destdir support (patch)



>Number:         39981
>Category:       pkg
>Synopsis:       audio/id3: destdir support (patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 20 18:40: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: 
Sun Oct 19 20:54:51 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Patch for destdir support

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/id3/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile    14 Oct 2006 13:12:44 -0000      1.8
+++ Makefile    20 Nov 2008 18:36:06 -0000
@@ -9,7 +9,12 @@
 HOMEPAGE=      http://frantica.lly.org/~rcw/abcde/page/
 COMMENT=       ID3 v1.1 tag editor
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1
+
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
-MAKE_FLAGS+=   mandir=${PREFIX}/${PKGMANDIR}/man1
+
+INSTALL_MAKE_FLAGS+=   prefix=${DESTDIR}${PREFIX}
+INSTALL_MAKE_FLAGS+=   mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"

>Fix:

Unknown


Home | Main Index | Thread Index | Old Index