Bug 278 - patch to configure to enable building on GNU/kFreeBSD
patch to configure to enable building on GNU/kFreeBSD
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.9
PC Other
: normal enhancement
Assigned To: Todd C. Miller
http://bugs.debian.org/465956
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-15 13:00 MST by Bdale Garbee
Modified: 2008-02-15 15:25 MST (History)
0 users

See Also:


Attachments
configure patch to enable kFreeBSD build (4.86 KB, patch)
2008-02-15 13:00 MST, Bdale Garbee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bdale Garbee 2008-02-15 13:00:49 MST
Created attachment 221 [details]
configure patch to enable kFreeBSD build

A Debian developer reports that the package fails to build from source on Debian GNU/kFreeBSD, and provides a trivial patch to configure that fixes it.  I've accepted this patch for the Debian sudo package, assume you'll want to merge it into your tree as well.
Comment 1 Todd C. Miller 2008-02-15 13:59:24 MST
I'm fine with this in principal but *-*-k*bsd* seems overly broad since it will match anything that begins with 'k' and ends in 'bsd'.  Would *-*-k*bsd*-gnu work?  Is there a GNU/kNetBSD too?  I see some references to GNU/NetBSD but they are pretty out of date.
Comment 2 Bdale Garbee 2008-02-15 14:17:35 MST
I believe that at one time or another, there have been FreeBSD, OpenBSD, and NetBSD kernel inclusion projects in the Debian community.  It appears that the FreeBSD guys are the most active today, and I understand they intend to be part of the next 'lenny' release of Debian, ergo the interesting in getting things like this fixed.

Looking at the porting notes found at http://glibc-bsd.alioth.debian.org/porting/PORTING
I believe that 'k*bsd*-gnu' should work.

Bdale
Comment 3 Todd C. Miller 2008-02-15 15:25:30 MST
I committed the *-*-k*bsd*-gnu change.