Subject: pkg/17697: New buildlink.mk for devel/libscsi
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 07/24/2002 13:01:20
>Number: 17697
>Category: pkg
>Synopsis: New buildlink.mk for devel/libscsi
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jul 24 04:00:00 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 library devel/libscsi misses a buildlink.mk file. Add it so we can
strongly bulidlinkify more packages.
>How-To-Repeat:
>Fix:
# $NetBSD$
#
# This Makefile fragment is included by packages that use libscsi.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.libscsi to the dependency pattern
# for the version of libscsi desired.
# (2) Include this Makefile fragment in the package Makefile,
# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
.if !defined(LIBSCSI_BUILDLINK_MK)
LIBSCSI_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.libscsi?= libscsi>=1.6
DEPENDS+= ${BUILDLINK_DEPENDS.libscsi}:../../devel/libscsi
EVAL_PREFIX+= BUILDLINK_PREFIX.libscsi=libscsi
BUILDLINK_PREFIX.libscsi_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.libscsi= include/scsi.h
BUILDLINK_FILES.libscsi+= lib/libscsi.a
BUILDLINK_TARGETS.libscsi= libscsi-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libscsi}
pre-configure: ${BUILDLINK_TARGETS}
libscsi-buildlink: _BUILDLINK_USE
.endif # LIBSCSI_BUILDLINK_MK
>Release-Note:
>Audit-Trail:
>Unformatted: