Fix destdir breakage and modular support.

This commit is contained in:
Tobias Nygren 2008-05-29 17:27:10 +00:00 committed by Thomas Klausner
parent 6051f9e1a0
commit 6df5be855f
3 changed files with 23 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2006/05/19 16:51:13 ykomatsu Exp $
# $NetBSD: Makefile,v 1.10 2008/05/29 17:27:10 tnn2 Exp $
#
DISTNAME= openglut-0.6.3
@ -12,6 +12,7 @@ HOMEPAGE= http://OpenGLUT.sourceforge.net/
COMMENT= OpenGLUT is an open source evolution of the GLUT API
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@ -21,5 +22,4 @@ CONFIGURE_ARGS+= --enable-fast
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.4 2005/09/28 06:41:05 rillig Exp $
$NetBSD: distinfo,v 1.5 2008/05/29 17:27:10 tnn2 Exp $
SHA1 (openglut-0.6.3.tar.bz2) = 263eaa340056d403e7fccc2cf54e6e919636d2e3
RMD160 (openglut-0.6.3.tar.bz2) = be2297b515a2f0673d87a5cc34e5607c3c4d22b7
Size (openglut-0.6.3.tar.bz2) = 437426 bytes
SHA1 (patch-aa) = 555d701fc45ac2ebe23283045141f833daace7af
SHA1 (patch-ab) = 29d3ca2248949e7c690a181f18d2c28be9231505

19
OpenGLUT/patches/patch-ab Normal file
View File

@ -0,0 +1,19 @@
$NetBSD: patch-ab,v 1.3 2008/05/29 17:27:10 tnn2 Exp $
--- doc/Makefile.in.orig 2004-10-06 01:43:34.000000000 +0200
+++ doc/Makefile.in
@@ -352,10 +352,10 @@ roff:
sh make-roff.sh
install: man-ascii
- $(INSTALL) -d $(mandir)/man3 man
- $(INSTALL) -d $(mandir)/cat3 cat3
- $(INSTALL) man/* $(mandir)/man3
- $(INSTALL) cat3/* $(mandir)/cat3
+ $(INSTALL) -d ${DESTDIR}$(mandir)/man3 man
+ $(INSTALL) -d ${DESTDIR}$(mandir)/cat3 cat3
+ $(INSTALL) man/* ${DESTDIR}$(mandir)/man3
+ $(INSTALL) cat3/* ${DESTDIR}$(mandir)/cat3
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: