pkgsrc-Bugs archive

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

pkg/36343: make cddb optional for libcdio



>Number:         36343
>Category:       pkg
>Synopsis:       make cddb optional for libcdio
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue May 15 08:20:00 +0000 2007
>Originator:     Yorick Hardy
>Release:        NetBSD 4.99.16
>Organization:
>Environment:
System: NetBSD yorick 4.99.16 NetBSD 4.99.16 (HPNX6310DRMcurrent) #0: Sun Apr 8 
20:20:02 SAST 2007 
root@yorick:/var/tmp/build/objcur/sys/arch/i386/compile/HPNX6310DRMcurrent i386
Architecture: i386
Machine: i386
>Description:
Please make cddb optional for libcdio
>How-To-Repeat:
>Fix:
--- misc/libcdio/Makefile.orig  2007-04-27 09:28:59.000000000 +0200
+++ misc/libcdio/Makefile       2007-04-27 09:31:45.000000000 +0200
@@ -31,7 +31,15 @@
        ${CP} ${FILESDIR}/_cdio_netbsd.c ${WRKSRC}/lib/driver/FreeBSD/freebsd.c
 .endif
 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libcdio
+PKG_SUPPORTED_OPTIONS= cddb
+PKG_SUGGESTED_OPTIONS= cddb
+
+.include "../../mk/bsd.options.mk"
+
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../devel/popt/buildlink3.mk"
-.include "../../audio/libcddb/buildlink3.mk"
+.if !empty(PKG_OPTIONS:Mcddb)
+.  include "../../audio/libcddb/buildlink3.mk"
+.endif
 .include "../../mk/bsd.pkg.mk"




Home | Main Index | Thread Index | Old Index