Subject: pkg/22759: mail/pine and editors/pico need make
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 09/12/2003 09:59:37
>Number:         22759
>Category:       pkg
>Synopsis:       mail/pine and editors/pico need make
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 12 17:00:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Aug 12 02:52:57 PDT 2003 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Also the build is done without using the MAKE_ENV environment, so the
tools directory with make symlink is not used. So it doesn't
build without a "make" in the path.

>How-To-Repeat:
Remove make from your path and try to build pine or pico.
>Fix:

-       ./build ${BUILDNAME} CC="${PKGLIBTOOL} ${BUILDLINK_CC}" \
+       ${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \
+         CC="${PKGLIBTOOL} ${BUILDLINK_CC}" \
          PREFIX=${PREFIX} OPTIMIZE="${CFLAGS}"

for pine:

-       cd ${WRKSRC} && ./build ${BUILDNAME} ${LDAPCFLAGS} ${LDAPLIBS}  \
-               PREFIX=${PREFIX}                                        \
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \
+               ${LDAPCFLAGS} ${LDAPLIBS}       \
+               PREFIX=${PREFIX}                                        \
                CC="${BUILDLINK_CC} ${CFLAGS} ${LDFLAGS}"
>Release-Note:
>Audit-Trail:
>Unformatted: