Added an option to alter the behavior to match mobile devices
This commit is contained in:
parent
0e02b49e2b
commit
984943164c
2 changed files with 13 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2010/01/11 00:20:06 khorben Exp $
|
||||
#
|
||||
# TODO: add an embedded option
|
||||
# $NetBSD: Makefile,v 1.3 2010/04/11 23:12:05 khorben Exp $
|
||||
|
||||
DISTNAME= Framer-0.0.0
|
||||
PKGNAME= deforaos-framer-0.0.0
|
||||
|
@ -19,5 +17,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
|
|||
MAKE_FLAGS+= PREFIX=${PREFIX}
|
||||
MAKE_FLAGS+= DESTDIR=${DESTDIR}
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
.include "../../x11/gtk2/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
10
deforaos-framer/options.mk
Normal file
10
deforaos-framer/options.mk
Normal file
|
@ -0,0 +1,10 @@
|
|||
# $NetBSD: options.mk,v 1.1 2010/04/11 23:12:05 khorben Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.deforaos-framer
|
||||
PKG_SUPPORTED_OPTIONS= embedded
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
.if !empty(PKG_OPTIONS:Membedded)
|
||||
MAKE_FLAGS+= CPPFLAGS=-DEMBEDDED
|
||||
.endif
|
Loading…
Reference in a new issue