PR/42612 - Dima Veselov -- build problem when no options specified

This commit is contained in:
jnemeth 2010-01-13 20:10:09 +00:00
parent 70d21f50fe
commit 4a79528ac3
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2009/12/30 04:11:02 jnemeth Exp $
# $NetBSD: Makefile,v 1.11 2010/01/13 20:10:09 jnemeth Exp $
#
DISTNAME= asterisk-1.6.1.12
@ -79,7 +79,6 @@ MAKE_FLAGS+= ASTDBDIR=${ASTDBDIR}
MAKE_FLAGS+= AGI_DIR=${PREFIX}/libexec/agi-bin
MAKE_FLAGS+= ASTEXAMPLEDIR=${ASTEXAMPLEDIR}
MAKE_FLAGS+= WRKSRC=${WRKSRC}
MAKE_FLAGS+= GLOBAL_MAKEOPTS=${WRKSRC}/pkgsrc.makeopts
MAKE_FLAGS+= LDOPTS=${LDFLAGS:M*:Q}
.include "options.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.2 2010/01/02 00:36:54 jnemeth Exp $
# $NetBSD: options.mk,v 1.3 2010/01/13 20:10:09 jnemeth Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk
PKG_SUPPORTED_OPTIONS= zaptel x11 unixodbc ilbc
@ -52,6 +52,7 @@ PLIST.ilbc= yes
.if !empty(PKG_OPTIONS:Mx11) || !empty(PKG_OPTIONS:Munixodbc) || !empty(PKG_OPTIONS:Milbc)
RUN_MENUSELECT= # defined
MAKE_FLAGS+= GLOBAL_MAKEOPTS=${WRKSRC}/pkgsrc.makeopts
.endif
post-configure:
.if !empty(PKG_OPTIONS:Mx11)