Subject: pkg/18121: buildlink2.mk for audio/libsndfile
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 08/30/2002 16:44:38
>Number:         18121
>Category:       pkg
>Synopsis:       buildlink2.mk for audio/libsndfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 30 07:43:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julio Merino
>Release:        NetBSD 1.6F
>Organization:
HispaBSD
>Environment:
	
	
System: NetBSD darkstar.local 1.6F NetBSD 1.6F (DARKSTAR) #7: Mon Aug 19 13:46:31 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
	The package audio/libsndfile misses a buildlink2.mk file. This
	PR provides it.
>How-To-Repeat:
	
>Fix:

# $NetBSD$
#

.if !defined(LIBSNDFILE_BUILDLINK2_MK)
LIBSNDFILE_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=			libsndfile
BUILDLINK_DEPENDS.libsndfile?=		libsndfile>=1.0.0
BUILDLINK_PKGSRCDIR.libsndfile?=	../../audio/libsndfile

EVAL_PREFIX+=	BUILDLINK_PREFIX.libsndfile=libsndfile
BUILDLINK_PREFIX.libsndfile_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.libsndfile=	include/sndfile.h
BUILDLINK_FILES.libsndfile+=	lib/libsndfile.*
BUILDLINK_FILES.libsndfile+=	lib/pkgconfig/sndfile.pc

.include "../../devel/pkgconfig/buildlink2.mk"

BUILDLINK_TARGETS+=		libsndfile-buildlink

libsndfile-buildlink: _BUILDLINK_USE

.endif	# LIBSNDFILE_BUILDLINK2_MK
>Release-Note:
>Audit-Trail:
>Unformatted: