pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2021Q2] pkgsrc/graphics/glew



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sun Jul  4 19:34:58 UTC 2021

Modified Files:
        pkgsrc/graphics/glew [pkgsrc-2021Q2]: Makefile

Log Message:
Pullup ticket #6481 - requested by nia
graphics/glew: packaging fix

Revisions pulled up:
- graphics/glew/Makefile                                        1.28

---
   Module Name: pkgsrc
   Committed By:        nia
   Date:                Sun Jul  4 08:08:04 UTC 2021

   Modified Files:
        pkgsrc/graphics/glew: Makefile

   Log Message:
   glew: Fix .pc file generation, bump PKGREVISION.

   Previously the prefix was not set and defaulted to /usr, which is
   Usually Wrong.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.27.4.1 pkgsrc/graphics/glew/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/glew/Makefile
diff -u pkgsrc/graphics/glew/Makefile:1.27 pkgsrc/graphics/glew/Makefile:1.27.4.1
--- pkgsrc/graphics/glew/Makefile:1.27  Wed Feb 17 14:20:35 2021
+++ pkgsrc/graphics/glew/Makefile       Sun Jul  4 19:34:57 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2021/02/17 14:20:35 wiz Exp $
+# $NetBSD: Makefile,v 1.27.4.1 2021/07/04 19:34:57 bsiegert Exp $
 
 DISTNAME=      glew-2.2.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=nigels-com/}
 GITHUB_RELEASE=        ${DISTNAME}
@@ -15,7 +15,10 @@ LICENSE=     modified-bsd AND mit
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            gmake
 PKGCONFIG_OVERRIDE=    glew.pc.in
-MAKEFLAGS+=            CC=${CC:Q} GLEW_DEST=${PREFIX} POPT=${CFLAGS:Q}
+MAKE_FLAGS+=           CC=${CC:Q}
+MAKE_FLAGS+=           GLEW_DEST=${PREFIX}
+MAKE_FLAGS+=           GLEW_PREFIX=${PREFIX}
+MAKE_FLAGS+=           POPT=${CFLAGS:Q}
 INSTALL_TARGET=                install.all
 INSTALLATION_DIRS+=    lib/pkgconfig
 
@@ -31,9 +34,9 @@ MAKE_ENV.SunOS+=      SYSTEM=solaris-gcc
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXi/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"
-MAKEFLAGS+=    LD=${LD:Q}
+MAKE_FLAGS+=   LD=${LD:Q}
 .else
-MAKEFLAGS+=    LD=${CC:Q}
+MAKE_FLAGS+=   LD=${CC:Q}
 .endif
 
 SUBST_CLASSES+=                x11path



Home | Main Index | Thread Index | Old Index