summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-03-14 00:16:03 +0000
committerwiz <wiz@pkgsrc.org>2020-03-14 00:16:03 +0000
commit41deb75ec27587c7c25d1711fc4a67b69809e89c (patch)
treed8d99a258a51862bf1e4aea69708aed59781f484 /cad
parentdf5586d00b2d25f3fa1087bfb50d3a6d5e48ae40 (diff)
downloadpkgsrc-41deb75ec27587c7c25d1711fc4a67b69809e89c.tar.gz
oce: fix option check in bl3.mk file
Diffstat (limited to 'cad')
-rw-r--r--cad/oce/buildlink3.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/cad/oce/buildlink3.mk b/cad/oce/buildlink3.mk
index 7481c878a33..303509fb3da 100644
--- a/cad/oce/buildlink3.mk
+++ b/cad/oce/buildlink3.mk
@@ -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_PKGSRCDIR.oce?= ../../cad/oce
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"