pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/glew glew: Fix .pc file generation, bump PKGR...
details: https://anonhg.NetBSD.org/pkgsrc/rev/23285f4da5c9
branches: trunk
changeset: 455390:23285f4da5c9
user: nia <nia%pkgsrc.org@localhost>
date: Sun Jul 04 08:08:04 2021 +0000
description:
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 41a3dab73050 -r 23285f4da5c9 graphics/glew/Makefile
--- a/graphics/glew/Makefile Sun Jul 04 08:07:17 2021 +0000
+++ b/graphics/glew/Makefile Sun Jul 04 08:08:04 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2021/02/17 14:20:35 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2021/07/04 08:08:04 nia 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