pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49538: compile editors/emacs24-nox11 with libxml2
>Number: 49538
>Category: pkg
>Synopsis: compile editors/emacs24-nox11 with libxml2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jan 05 07:55:01 +0000 2015
>Originator: Masaya TANIGUCHI
>Release: CURRENT
>Organization:
None
>Environment:
Linux HOST 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>Description:
latest emacs contains eww.el (for browsing website or manual )
it depends on libxml2.
"PKG_OPTIONS.emacs= +xml" isn't available in editors/emacs24-nox11
>How-To-Repeat:
$ echo "PKG_OPTIONS.emacs= xml" >> mk.conf
..
$ cd editors/emacs24-nox11
$ bmake install clean
..
$ ldd ${PKG}/bin/emacs
>Fix:
in editors/emacs24-nox11/options.mk
---
PKG_OPTIONS_VAR= PKG_OPTIONS.emacs
PKG_SUPPORTED_OPTIONS= xml
PKG_SUGGESTERD_OPTIONS= xml
.include "../../mk/bsd.options.mk"
###
### Support XML2
###
. if !empty(PKG_OPTIONS:Mxml)
USE_TOOLS+= pkg-config
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.17
.include "../../textproc/libxml2/buildlink3.mk"
. else
CONFIGURE_ARGS+= --without-xml2
. endif
---
in editors/emacs24-nox11/Makefile
.include "options.mk"
Home |
Main Index |
Thread Index |
Old Index