pkgsrc-Bugs archive

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

pkg/39983: [patch] destdir support for fonts/intlfonts



>Number:         39983
>Category:       pkg
>Synopsis:       [patch] destdir support for fonts/intlfonts
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 20 18: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: 
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 (tested under NetBSD)
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/intlfonts/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile    26 May 2008 12:15:14 -0000      1.26
+++ Makefile    20 Nov 2008 18:52:16 -0000
@@ -9,6 +9,8 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Free X11 fonts (BDF format) for all characters that Emacs can 
handle
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 FONT_SETS=     Asian           \
                Chinese         \
                Ethiopic        \
@@ -46,6 +48,8 @@
 CONFIGURE_ARGS+=--with-fontdir=${PREFIX}/lib/X11/fonts/intlfonts \
                --enable-compress=gzip
 
+INSTALL_MAKE_FLAGS+=   fontdir=${DESTDIR}${PREFIX}/lib/X11/fonts/intlfonts
+
 FONTS_DIRS.x11+=       ${PREFIX}/lib/X11/fonts/intlfonts
 FONTS_DIRS.x11+=       ${PREFIX}/lib/X11/fonts/intlfonts/bdf
 FONTS_DIRS.type1+=     ${PREFIX}/lib/X11/fonts/intlfonts/Type1



Home | Main Index | Thread Index | Old Index