Subject: pkg/37563: devel/libast
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 12/18/2007 14:10:01
>Number:         37563
>Category:       pkg
>Synopsis:       devel/libast
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 18 14:10:00 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_120012-14 i86pc


>Description:


[root@redhot 1101] less /var/pkgsrclog/devel/libast/bmake.log 
=> Bootstrap dependency digest>=20010302: digest-20070803 found
=> Bootstrap dependency checkperms>=1.1: checkperms-1.9 found
ERROR: This package has set PKG_FAIL_REASON:
ERROR: [bsd.options.mk] The package has no options, but includes this file.
*** Error code 255



>How-To-Repeat:


bmake


>Fix:


# $NetBSD: options.mk,v 1.1 2005/05/31 21:35:13 wiz Exp $

PKG_OPTIONS_VAR=        PKG_OPTIONS.libast

.include "../../mk/bsd.prefs.mk"

PKG_SUPPORTED_OPTIONS=  mmx

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mmmx)
CONFIGURE_ARGS+=        --enable-mmx
.endif