pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2021Q2]: pkgsrc/graphics/glew Pullup ticket #6481 - requested ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6521800e277a
branches:  pkgsrc-2021Q2
changeset: 455441:6521800e277a
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Jul 04 19:34:57 2021 +0000

description:
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.

diffstat:

 graphics/glew/Makefile |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 3280ae5b9dba -r 6521800e277a graphics/glew/Makefile
--- a/graphics/glew/Makefile    Sun Jul 04 19:34:52 2021 +0000
+++ b/graphics/glew/Makefile    Sun Jul 04 19:34:57 2021 +0000
@@ -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 @@
 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 @@
 .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