pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/glu DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01592e17ee1b
branches:  trunk
changeset: 520949:01592e17ee1b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Nov 03 08:40:36 2006 +0000

description:
DESTDIR support.

diffstat:

 graphics/glu/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 7db00132474f -r 01592e17ee1b graphics/glu/Makefile
--- a/graphics/glu/Makefile     Fri Nov 03 08:04:06 2006 +0000
+++ b/graphics/glu/Makefile     Fri Nov 03 08:40:36 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2006/08/01 21:40:20 jlam Exp $
+# $NetBSD: Makefile,v 1.48 2006/11/03 08:40:36 joerg Exp $
 
 PKGNAME=       glu-${MESA_VERSION}
 COMMENT=       GLU polygon tessellation facility for Mesa
@@ -17,11 +17,11 @@
        cd ${WRKSRC} && ${RM} -fr src/mesa src/glut src/glw progs
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/GL
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/GL
        cd ${WRKSRC}/include/GL; for hdr in                             \
                glu.h glu_mangle.h;                                     \
        do                                                              \
-               ${INSTALL_DATA} $${hdr} ${PREFIX}/include/GL;           \
+               ${INSTALL_DATA} $${hdr} ${DESTDIR}${PREFIX}/include/GL; \
        done
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index