Subject: pkg/15343: Build of www/w3 fails when USE_XEMACS is on.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <svs@ropnet.ru>
List: netbsd-bugs
Date: 01/23/2002 07:43:28
>Number:         15343
>Category:       pkg
>Synopsis:       Build of www/w3 fails when USE_XEMACS is on.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 23 07:43:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Svishchev
>Release:        1.5Z
>Organization:
>Environment:
>Description:
Build fails at `configure' stage:

configure: error: --with-package-dir and --prefix are mutually exclusive
*** Error code 1

--prefix gets set because GNU_CONFIGURE is on.

>How-To-Repeat:

>Fix:
--- Makefile    2001/05/19 17:40:01     1.8
+++ Makefile    2002/01/23 15:41:58
@@ -13,17 +13,18 @@
 HOMEPAGE=      http://www.cs.indiana.edu/elisp/w3/docs.html
 COMMENT=       World Wide Web browser for Emacs
 
-GNU_CONFIGURE= yes
 CONFIGURE_ARGS+=--enable-site-install
 
 .include "../../mk/bsd.prefs.mk"
 
 .if defined(USE_XEMACS)
+HAS_CONFIGURE= yes
 DEPENDS+=      xemacs-[0-9]*:../../editors/xemacs
 CONFIGURE_ARGS+=--with-xemacs
 CONFIGURE_ARGS+=--with-package-dir=${PREFIX}/lib/xemacs/xemacs-packages
 PLIST_SRC=     ${PKGDIR}/PLIST.xemacs
 .else
+GNU_CONFIGURE= yes
 DEPENDS+=      emacs-[0-9]*:../../editors/emacs
 CONFIGURE_ARGS+=--with-emacs
 CONFIGURE_ARGS+=--with-lispdir=${PREFIX}/share/emacs/site-lisp/w3

>Release-Note:
>Audit-Trail:
>Unformatted: