pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/fltk13 x11/fltk13: remove redundant includes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1db487d55c0
branches:  trunk
changeset: 424890:b1db487d55c0
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Mar 15 22:41:05 2020 +0000

description:
x11/fltk13: remove redundant includes

diffstat:

 x11/fltk13/Makefile      |  3 +--
 x11/fltk13/buildlink3.mk |  5 ++---
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 1329587fa053 -r b1db487d55c0 x11/fltk13/Makefile
--- a/x11/fltk13/Makefile       Sun Mar 15 22:28:15 2020 +0000
+++ b/x11/fltk13/Makefile       Sun Mar 15 22:41:05 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2019/11/03 09:14:08 rillig Exp $
+# $NetBSD: Makefile,v 1.33 2020/03/15 22:41:05 rillig Exp $
 
 DISTNAME=      fltk-1.3.5-source
 PKGNAME=       ${DISTNAME:S/-source//}
@@ -24,7 +24,6 @@
 #PLIST_VARS+=          cairo
 PLIST_VARS+=           opengl
 
-.include "../../mk/bsd.prefs.mk"
 .include "../../mk/bsd.options.mk"
 
 PTHREAD_OPTS+=         require
diff -r 1329587fa053 -r b1db487d55c0 x11/fltk13/buildlink3.mk
--- a/x11/fltk13/buildlink3.mk  Sun Mar 15 22:28:15 2020 +0000
+++ b/x11/fltk13/buildlink3.mk  Sun Mar 15 22:41:05 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2019/11/03 09:14:08 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2020/03/15 22:41:05 rillig Exp $
 
 BUILDLINK_TREE+=       fltk
 
@@ -11,11 +11,10 @@
 BUILDLINK_FILES.fltk+=         include/Fl/*
 
 pkgbase := fltk
-.include "../../mk/bsd.fast.prefs.mk"
 .include "../../mk/pkg-build-options.mk"
 
 # For "opengl" option
-.if !empty(PKG_BUILD_OPTIONS.fltk:Mopengl)
+.if ${PKG_BUILD_OPTIONS.fltk:Mopengl}
 .  if ${OPSYS} != "Darwin"
 .    include "../../graphics/MesaLib/buildlink3.mk"
 .    include "../../graphics/glu/buildlink3.mk"



Home | Main Index | Thread Index | Old Index