pkgsrc-Bugs archive

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

pkg/43531: destdir-support for sysutils/xosview [patch]



>Number:         43531
>Category:       pkg
>Synopsis:       destdir-support for sysutils/xosview [patch]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 26 19:00:00 +0000 2010
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.1_RC3
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #0: Wed 
Jun 23 23:29:48 EEST 2010 
cheusov%asrock.chizhovka.net@localhost:/srv/obj/sys/arch/amd64/compile/GENERIC 
amd64
Architecture: x86_64
Machine: amd64
>Description:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/xosview/Makefile,v
retrieving revision 1.67
diff -u -r1.67 Makefile
--- Makefile    4 Feb 2008 14:42:15 -0000       1.67
+++ Makefile    26 Jun 2010 18:52:50 -0000
@@ -10,6 +10,7 @@
 COMMENT=       X11 graphical display of OS statistics
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   destdir
 
 USE_X11BASE=           YES
 USE_LANGUAGES=         c c++
@@ -20,7 +21,8 @@
 CONFIGURE_ARGS+=       --x-libraries=${X11BASE:Q}/lib
 
 INSTALLATION_DIRS=     bin lib/X11/app-defaults ${PKGMANDIR}/man1
-MAKE_FLAGS+=           MANDIR=${PREFIX:Q}/${PKGMANDIR:Q}/man1
+INSTALL_MAKE_FLAGS+=   MANDIR=${DESTDIR}${PREFIX:Q}/${PKGMANDIR:Q}/man1
+INSTALL_MAKE_FLAGS+=   PREFIX_TO_USE=${DESTDIR}${PREFIX}
 
 .include "../../mk/bsd.prefs.mk"
 

>Fix:

Unknown


Home | Main Index | Thread Index | Old Index