Subject: pkg/12306: PREFIX->LOCALBASE in pkgsrc/www/kannel/Makefile
To: None <gnats-bugs@gnats.netbsd.org>
From: Tomasz Luchowski <zuntum@eik.pl>
List: netbsd-bugs
Date: 03/01/2001 06:24:57
>Number: 12306
>Category: pkg
>Synopsis: PREFIX->LOCALBASE in pkgsrc/www/kannel/Makefile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Feb 28 22:25:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 1.5
>Organization:
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.net */
>Environment:
System: NetBSD cappi 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (CAPPI) #1: Thu Feb 22 23:42:53 CET 2001 hv@cappi:/usr/src/sys/arch/i386/compile/CAPPI i386
>Description:
${LOCALBASE} seems to suit better than ${PREFIX} when we use -I
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/kannel/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 2001/02/17 17:22:11 1.3
+++ Makefile 2001/03/01 06:21:59
@@ -16,8 +16,8 @@
USE_PERL5= YES
USE_GMAKE= YES
GNU_CONFIGURE= YES
-CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${PREFIX}/include"
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
CONFIGURE_ARGS+=--disable-docs
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: