pkgsrc-Bugs archive

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

pkg/48454: wrong configure argument in x11/libxkbcommon



>Number:         48454
>Category:       pkg
>Synopsis:       wrong configure argument in x11/libxkbcommon
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 17 22:25:00 +0000 2013
>Originator:     Niclas Rosenvik
>Release:        pkgsrc-current 2013-12-17
>Organization:
>Environment:
NetBSD localhost 6.1.2 NetBSD 6.1.2 (GENERIC) amd64
>Description:
The Makefile to x11/libxkbcommon uses a configure argument --disable-doxygen, 
this is wrong the argument should be --enable-docs=no .
This error causes the documentation to be build if the configure script finds 
doxygen on the system and this causes pkgsrc to complain about files that are 
not in the PLIST but that are in dest dir.
>How-To-Repeat:
run "make package" in  x11/libxkbcommon with doxygen installed on the system.
>Fix:
easy fix: use --enable-docs=no instead of --disable-doxygen
nicer fix:
remove CONFIGURE_ARGS+= --disable-doxygen from Makefile and add .include 
"options.mk" to Makefile.
Add options.mk and PLIST to the libxkbcommon directory.

--- options.mk begins here ---
PKG_OPTIONS_VAR=        PKG_OPTIONS.libxkbcommon
PKG_SUPPORTED_OPTIONS=  doc
PLIST_VARS+=            doc

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

.if !empty(PKG_OPTIONS:Mdoc)
BUILD_DEPENDS+=         doxygen:../../devel/doxygen
PLIST.doc=              yes
CONFIGURE_ARGS+=        --enable-docs=yes
.else
CONFIGURE_ARGS+=        --enable-docs=no        
.endif
--- options.mk ends here ---
--- PLIST begins here ---
@comment $NetBSD$
include/xkbcommon/xkbcommon-compat.h
include/xkbcommon/xkbcommon-keysyms.h
include/xkbcommon/xkbcommon-names.h
include/xkbcommon/xkbcommon.h
lib/libxkbcommon.la
lib/pkgconfig/xkbcommon.pc
${PLIST.doc}share/doc/libxkbcommon/annotated.html
${PLIST.doc}share/doc/libxkbcommon/annotated.js
${PLIST.doc}share/doc/libxkbcommon/bc_s.png
${PLIST.doc}share/doc/libxkbcommon/bdwn.png
${PLIST.doc}share/doc/libxkbcommon/classes.html
${PLIST.doc}share/doc/libxkbcommon/closed.png
${PLIST.doc}share/doc/libxkbcommon/dir_000000.html
${PLIST.doc}share/doc/libxkbcommon/dir_000000.js
${PLIST.doc}share/doc/libxkbcommon/doxygen.css
${PLIST.doc}share/doc/libxkbcommon/doxygen.png
${PLIST.doc}share/doc/libxkbcommon/dynsections.js
${PLIST.doc}share/doc/libxkbcommon/files.html
${PLIST.doc}share/doc/libxkbcommon/files.js
${PLIST.doc}share/doc/libxkbcommon/ftv2blank.png
${PLIST.doc}share/doc/libxkbcommon/ftv2cl.png
${PLIST.doc}share/doc/libxkbcommon/ftv2doc.png
${PLIST.doc}share/doc/libxkbcommon/ftv2folderclosed.png
${PLIST.doc}share/doc/libxkbcommon/ftv2folderopen.png
${PLIST.doc}share/doc/libxkbcommon/ftv2lastnode.png
${PLIST.doc}share/doc/libxkbcommon/ftv2link.png
${PLIST.doc}share/doc/libxkbcommon/ftv2mlastnode.png
${PLIST.doc}share/doc/libxkbcommon/ftv2mnode.png
${PLIST.doc}share/doc/libxkbcommon/ftv2mo.png
${PLIST.doc}share/doc/libxkbcommon/ftv2node.png
${PLIST.doc}share/doc/libxkbcommon/ftv2ns.png
${PLIST.doc}share/doc/libxkbcommon/ftv2plastnode.png
${PLIST.doc}share/doc/libxkbcommon/ftv2pnode.png
${PLIST.doc}share/doc/libxkbcommon/ftv2splitbar.png
${PLIST.doc}share/doc/libxkbcommon/ftv2vertline.png
${PLIST.doc}share/doc/libxkbcommon/functions.html
${PLIST.doc}share/doc/libxkbcommon/functions_func.html
${PLIST.doc}share/doc/libxkbcommon/functions_type.html
${PLIST.doc}share/doc/libxkbcommon/functions_vars.html
${PLIST.doc}share/doc/libxkbcommon/globals.html
${PLIST.doc}share/doc/libxkbcommon/globals_defs.html
${PLIST.doc}share/doc/libxkbcommon/globals_enum.html
${PLIST.doc}share/doc/libxkbcommon/globals_eval.html
${PLIST.doc}share/doc/libxkbcommon/globals_func.html
${PLIST.doc}share/doc/libxkbcommon/globals_type.html
${PLIST.doc}share/doc/libxkbcommon/group__components.html
${PLIST.doc}share/doc/libxkbcommon/group__components.js
${PLIST.doc}share/doc/libxkbcommon/group__context.html
${PLIST.doc}share/doc/libxkbcommon/group__context.js
${PLIST.doc}share/doc/libxkbcommon/group__include-path.html
${PLIST.doc}share/doc/libxkbcommon/group__include-path.js
${PLIST.doc}share/doc/libxkbcommon/group__keymap.html
${PLIST.doc}share/doc/libxkbcommon/group__keymap.js
${PLIST.doc}share/doc/libxkbcommon/group__keysyms.html
${PLIST.doc}share/doc/libxkbcommon/group__keysyms.js
${PLIST.doc}share/doc/libxkbcommon/group__logging.html
${PLIST.doc}share/doc/libxkbcommon/group__logging.js
${PLIST.doc}share/doc/libxkbcommon/group__state.html
${PLIST.doc}share/doc/libxkbcommon/group__state.js
${PLIST.doc}share/doc/libxkbcommon/index.html
${PLIST.doc}share/doc/libxkbcommon/jquery.js
${PLIST.doc}share/doc/libxkbcommon/modules.html
${PLIST.doc}share/doc/libxkbcommon/modules.js
${PLIST.doc}share/doc/libxkbcommon/nav_f.png
${PLIST.doc}share/doc/libxkbcommon/nav_g.png
${PLIST.doc}share/doc/libxkbcommon/nav_h.png
${PLIST.doc}share/doc/libxkbcommon/navtree.css
${PLIST.doc}share/doc/libxkbcommon/navtree.js
${PLIST.doc}share/doc/libxkbcommon/navtreeindex0.js
${PLIST.doc}share/doc/libxkbcommon/navtreeindex1.js
${PLIST.doc}share/doc/libxkbcommon/open.png
${PLIST.doc}share/doc/libxkbcommon/resize.js
${PLIST.doc}share/doc/libxkbcommon/structxkb__context.html
${PLIST.doc}share/doc/libxkbcommon/structxkb__context.js
${PLIST.doc}share/doc/libxkbcommon/structxkb__keymap.html
${PLIST.doc}share/doc/libxkbcommon/structxkb__keymap.js
${PLIST.doc}share/doc/libxkbcommon/structxkb__rule__names.html
${PLIST.doc}share/doc/libxkbcommon/structxkb__rule__names.js
${PLIST.doc}share/doc/libxkbcommon/structxkb__state.html
${PLIST.doc}share/doc/libxkbcommon/structxkb__state.js
${PLIST.doc}share/doc/libxkbcommon/sync_off.png
${PLIST.doc}share/doc/libxkbcommon/sync_on.png
${PLIST.doc}share/doc/libxkbcommon/tab_a.png
${PLIST.doc}share/doc/libxkbcommon/tab_b.png
${PLIST.doc}share/doc/libxkbcommon/tab_h.png
${PLIST.doc}share/doc/libxkbcommon/tab_s.png
${PLIST.doc}share/doc/libxkbcommon/tabs.css
${PLIST.doc}share/doc/libxkbcommon/xkbcommon-compat_8h_source.html
${PLIST.doc}share/doc/libxkbcommon/xkbcommon-keysyms_8h_source.html
${PLIST.doc}share/doc/libxkbcommon/xkbcommon-names_8h.html
${PLIST.doc}share/doc/libxkbcommon/xkbcommon-names_8h.js
${PLIST.doc}share/doc/libxkbcommon/xkbcommon-names_8h_source.html
${PLIST.doc}share/doc/libxkbcommon/xkbcommon_8h.html
${PLIST.doc}share/doc/libxkbcommon/xkbcommon_8h.js
${PLIST.doc}share/doc/libxkbcommon/xkbcommon_8h_source.html
--- PLIST ends here ---




Home | Main Index | Thread Index | Old Index