pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/octave
Module Name: pkgsrc
Committed By: wiz
Date: Sat Dec 31 09:26:31 UTC 2016
Modified Files:
pkgsrc/math/octave: buildlink3.mk
Log Message:
Use standard way to test for build options.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/math/octave/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/octave/buildlink3.mk
diff -u pkgsrc/math/octave/buildlink3.mk:1.18 pkgsrc/math/octave/buildlink3.mk:1.19
--- pkgsrc/math/octave/buildlink3.mk:1.18 Tue Feb 16 04:21:40 2016
+++ pkgsrc/math/octave/buildlink3.mk Sat Dec 31 09:26:31 2016
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2016/02/16 04:21:40 dbj Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2016/12/31 09:26:31 wiz Exp $
BUILDLINK_TREE+= octave
@@ -11,8 +11,11 @@ BUILDLINK_PKGSRCDIR.octave?= ../../math/
.include "../../mk/bsd.fast.prefs.mk"
-.if !defined(PKG_OPTIONS.octave:) || !empty(PKG_OPTIONS.octave:Mhdf5)
-.include "../../devel/hdf5/buildlink3.mk"
+pkgbase := octave
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.octave:Mhdf5)
+. include "../../devel/hdf5/buildlink3.mk"
.endif
.include "../../audio/libsndfile/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index