pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/mgl mgl: Fixed pkglint warning about SUBST bl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a76a79e2543
branches:  trunk
changeset: 373735:9a76a79e2543
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jan 10 00:06:26 2018 +0000

description:
mgl: Fixed pkglint warning about SUBST block.

diffstat:

 graphics/mgl/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 54abaf7338e1 -r 9a76a79e2543 graphics/mgl/Makefile
--- a/graphics/mgl/Makefile     Wed Jan 10 00:04:29 2018 +0000
+++ b/graphics/mgl/Makefile     Wed Jan 10 00:06:26 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2014/05/31 15:56:27 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2018/01/10 00:06:26 rillig Exp $
 #
 
 DISTNAME=      mgl2-alpha-020
@@ -47,9 +47,10 @@
 SUBST_CLASSES+=                flex
 SUBST_STAGE.flex=      pre-configure
 SUBST_FILES.flex=      conf/config.mk-netbsd-i386-x
-SUBST_SED.flex=                -e 's,@PATCH_YY_BUF_SIZE_FLAG@,PATCH_YY_BUF_SIZE=y,'
 .if !empty(MACHINE_PLATFORM:MNetBSD-5.99*)
 SUBST_SED.flex=                -e 's,@PATCH_YY_BUF_SIZE_FLAG@,,'
+.else
+SUBST_SED.flex=                -e 's,@PATCH_YY_BUF_SIZE_FLAG@,PATCH_YY_BUF_SIZE=y,'
 .endif
 
 INSTALL_MAKE_FLAGS+=   PREFIX=${DESTDIR}${PREFIX}



Home | Main Index | Thread Index | Old Index