pkgsrc-WIP-discuss archive

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

Re: package options



On Sat, Feb 18, 2006 at 05:16:47PM +0000, Iain Hibbert wrote:
> and the only one that mentions this issue is the arla package(s) which
> have a comment in the Makefile like so:
> 
> # Enable one or more of the following kernel compile options as required:
> # (these options must match the compile options of the kernel)
> #CONFIGURE_ENV+=      KERNEL_CPPFLAGS="-DMULTIPROCESSOR -DDEBUG -DDIAGNOSTIC"
> 
> so maybe this is the way to go? (either that, or in the MESSAGE file?)

Comments in the Makefile, waiting to be uncommented by the user... Nah,
make them options.  If it doesn't affect other platforms (e.g., DragonFly),
you can make it an option only on NetBSD: 

.if ${OPSYS} == "NetBSD"
PKG_SUPPORTED_OPTIONS+= lkm-diagnostic
.endif

        Geert


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss



Home | Main Index | Thread Index | Old Index