pkgsrc-WIP-changes archive

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

eureka-devel: Verify that FLTK is compiled with "opengl" option



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By:	micha
Date:		Mon Oct 21 12:21:31 2019 +0200
Changeset:	8564182ced1fe603e0e3dc40c903bd0ae691166b

Modified Files:
	eureka-devel/Makefile

Log Message:
eureka-devel: Verify that FLTK is compiled with "opengl" option

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8564182ced1fe603e0e3dc40c903bd0ae691166b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 eureka-devel/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diffs:
diff --git a/eureka-devel/Makefile b/eureka-devel/Makefile
index ae67453225..5fcb8fe54a 100644
--- a/eureka-devel/Makefile
+++ b/eureka-devel/Makefile
@@ -8,7 +8,7 @@ GIT_REPO=	https://git.code.sf.net/p/eureka-editor/git
 #DISTNAME=	eureka-124-source
 #PKGNAME=	${DISTNAME:S/eureka/eureka-devel/:S/-source//:S/-1/-1./}
 CATEGORIES=	games
-#MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=eureka-editor}
+#MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=eureka-editor/}
 
 MAINTAINER=	micha%NetBSD.org@localhost
 HOMEPAGE=	https://sourceforge.net/projects/eureka-editor/
@@ -42,9 +42,12 @@ SUBST_SED.dwd=		-e 's,PKGSRC_DOOMWADDIR,${PREFIX}/${DOOMWADDIR},'
 
 BUILDLINK_API_DEPENDS.zlib+=	zlib>=1.2.3
 .include "../../devel/zlib/buildlink3.mk"
+# FLTK must be compiled with OpenGL support
 # FLTK version 1.4 is supported too
 #.include "../../wip/fltk13/buildlink3.mk"
 .include "../../wip/fltk14-devel/buildlink3.mk"
-
+.if empty(PKG_OPTIONS.fltk14:Mopengl)
+PKG_FAIL_REASON+=	"FLTK must be compiled with \"opengl\" option."
+.endif
 .include "../../wip/mk/git-package.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index