Subject: pkg/17705: gkrellm's buildlink has wrong named macro
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 07/24/2002 17:31:26
>Number: 17705
>Category: pkg
>Synopsis: gkrellm's buildlink has wrong named macro
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 24 08:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Julio Merino
>Release: NetBSD 1.6D
>Organization:
HispaBSD
>Environment:
System: NetBSD darkstar.local 1.6D NetBSD 1.6D (DARKSTAR) #0: Mon Jul 22 12:44:12 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
The buildlink.mk file of sysutils/gkrellm uses a macro named
_BUILDLINK_MK. This is incorrect as it does not specify to which
package it belongs. This could cause conflicts if some other package
has such misnamed variable.
>How-To-Repeat:
>Fix:
Index: buildlink.mk
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/sysutils/gkrellm/buildlink.mk,v
retrieving revision 1.1
diff -u -u -r1.1 buildlink.mk
--- buildlink.mk 2002/07/13 15:38:15 1.1
+++ buildlink.mk 2002/07/24 15:27:51
@@ -12,8 +12,8 @@
# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
-.if !defined(_BUILDLINK_MK)
-_BUILDLINK_MK= # defined
+.if !defined(GKRELLM_BUILDLINK_MK)
+GKRELLM_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
@@ -29,6 +29,6 @@
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.gkrellm}
pre-configure: ${BUILDLINK_TARGETS}
-gkrellm-buildlink: _BUILDLINK_USE
+gkrellm-buildlink: GKRELLM_BUILDLINK_USE
-.endif # _BUILDLINK_MK
+.endif # GKRELLM_BUILDLINK_MK
>Release-Note:
>Audit-Trail:
>Unformatted: