pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/oce oce: fix option check in bl3.mk file



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd60d1dee784
branches:  trunk
changeset: 424703:bd60d1dee784
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Mar 14 00:16:03 2020 +0000

description:
oce: fix option check in bl3.mk file

diffstat:

 cad/oce/buildlink3.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 747369b524b8 -r bd60d1dee784 cad/oce/buildlink3.mk
--- a/cad/oce/buildlink3.mk     Sat Mar 14 00:14:35 2020 +0000
+++ b/cad/oce/buildlink3.mk     Sat Mar 14 00:16:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2019/08/30 18:51:16 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2020/03/14 00:16:03 wiz Exp $
 
 BUILDLINK_TREE+=       oce
 
@@ -11,7 +11,10 @@
 
 BUILDLINK_INCDIRS.oce+=        include/oce
 
-.if !empty(PKG_OPTIONS:Mx11)
+pkgbase := oce
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.oce:Mx11)
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../graphics/glu/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index