Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move inclusion of graphics/glu/buildlink3.mk from Makefile to
Makefile.common. This should hopefully fix x11/wxGTK-contrib from failing:
checking for -lGLU... no
checking for -lMesaGL... no
configure: error: OpenGL libraries not available

XXX: buildlink3.mk doesn't include glu, is that really OK?
  • Loading branch information
tnn committed Feb 4, 2008
1 parent 0fcb513 commit be3cc65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions x11/wxGTK/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.52 2007/01/16 23:27:48 joerg Exp $
# $NetBSD: Makefile,v 1.53 2008/02/04 17:46:13 tnn Exp $
#

.include "Makefile.common"
Expand All @@ -21,6 +21,5 @@ post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DESTDIR}${DOCDIR}/LICENSE

.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
3 changes: 2 additions & 1 deletion x11/wxGTK/Makefile.common
@@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.15 2007/08/13 23:10:04 salo Exp $
# $NetBSD: Makefile.common,v 1.16 2008/02/04 17:46:13 tnn Exp $
#

DISTNAME= wxGTK-2.6.3
Expand Down Expand Up @@ -45,6 +45,7 @@ DOCDIR= ${PREFIX}/share/doc/wxGTK
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
Expand Down

0 comments on commit be3cc65

Please sign in to comment.