Subject: pkg/13110: samba 2.2 build failure on libs/readline.c
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/04/2001 15:47:04
>Number:         13110
>Category:       pkg
>Synopsis:       samba 2.2 build failure on libs/readline.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 04 15:46:00 PDT 2001
>Originator:     Jesse Off
>Release:        1.5
	NewMonics, Inc.
System: NetBSD vast 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (VAST) #4: Thu Feb 22 22:26:34 GMT 2001 root@vast:/usr/src/sys/arch/i386/compile/VAST i386

	samba configure fails to bring in proper readline includes
	and gets /usr/include/readline.h rather than the ones in
	${WRKDIR}/include/readline.  Result is a build failure if
	/usr/include/readline.h exists.

Direct ./configure to find readline.h in ${WRKDIR} as below instead
of letting it find a readline.h for itself....

Index: Makefile
RCS file: /cvsroot/pkgsrc/net/samba/Makefile,v
retrieving revision 1.53
diff -u -r1.53 Makefile
--- Makefile    2001/06/01 15:21:53     1.53
+++ Makefile    2001/06/04 22:40:02
@@ -46,7 +46,7 @@
 CONFIGURE_ARGS+=       --with-privatedir=${SAMBA_PRIVATE}
 CONFIGURE_ARGS+=       --with-swatdir=${PREFIX}/share/swat
-CONFIGURE_ARGS+=       --with-readline
+CONFIGURE_ARGS+=       --with-readline=${WRKDIR}
 CONFIGURE_ARGS+=       --with-ssl
 CONFIGURE_ENV+=                ac_cv_lib_ncurses_tgetent=no
 CONFIGURE_ENV+=                ac_cv_lib_curses_tgetent=no