Subject: pkg/22953: how about using a gmake that has no dependencies for pkgsrc itself?
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 09/25/2003 14:44:17
>Number: 22953
>Category: pkg
>Synopsis: how about using a gmake that has no dependencies for pkgsrc itself?
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Sep 25 18:45:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Greg A. Woods
>Release: 2003/09/17
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD
>Description:
I don't support any developers (other than myself) with netbsd
packages, and especially not any non-English speaking ones, and
so as a result I find it a lot easier to build devel/gmake
without any dependencies on any other packages, especially not
gettext and libiconv.
While these changes may not be ideal for everyone, they make
make a heck of a lot of sense for a "pkg-gmake" that other
packages can depend on, with the real "devel/gmake" kept for
"real" developers. :-)
>How-To-Repeat:
>Fix:
Index: devel/gmake/Makefile
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/devel/gmake/Makefile,v
retrieving revision 1.51
diff -c -r1.51 Makefile
*** devel/gmake/Makefile 9 Aug 2003 10:44:42 -0000 1.51
--- devel/gmake/Makefile 26 Aug 2003 23:58:10 -0000
***************
*** 12,18 ****
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
! USE_PKGLOCALEDIR= YES
TEXINFO_REQD= 4.0
INFO_FILES= make.info
--- 12,18 ----
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
! #USE_PKGLOCALEDIR= YES
TEXINFO_REQD= 4.0
INFO_FILES= make.info
***************
*** 21,26 ****
--- 21,30 ----
# dependency
TEST_TARGET= check
+ CONFIGURE_ARGS+= --without-libintl
+ CONFIGURE_ARGS+= --without-libiconv
+ PKGLOCALEDIR= "@comment "
+
.include "../../mk/bsd.prefs.mk"
.if defined(GNU_PROGRAM_PREFIX)
***************
*** 42,46 ****
${LN} -sf ${GNU_PROGRAM_PREFIX}make ${PREFIX}/bin/gmake
.endif
! .include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
--- 46,50 ----
${LN} -sf ${GNU_PROGRAM_PREFIX}make ${PREFIX}/bin/gmake
.endif
! #.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: