Subject: pkg/13999: devel/stlport/buildlink.mk
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 09/18/2001 16:10:26
>Number:         13999
>Category:       pkg
>Synopsis:       devel/stlport/buildlink.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 18 07:11:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        NetBSD 1.5.2
>Organization:
>Environment:
System: NetBSD dhcp38 1.5.2 NetBSD 1.5.2 (OMNIBOOK) #1: Wed Aug 29 10:01:32 GMT 2001 root@dhcp38:/usr/src/sys/arch/i386/compile/OMNIBOOK i386


>Description:

Add buildlink.mk to stlport.

>How-To-Repeat:
>Fix:

# $NetBSD$
#
# This Makefile fragment is included by packages that use stlport.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.stlport to the dependency pattern
#     for the version of stlport 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(STLPORT_BUILDLINK_MK)
STLPORT_BUILDLINK_MK=	# defined

.include "../../mk/bsd.buildlink.mk"

BUILDLINK_DEPENDS.stlport?=	stlport>=4.0
DEPENDS+=	${BUILDLINK_DEPENDS.stlport}:../../devel/stlport

EVAL_PREFIX+=			BUILDLINK_PREFIX.stlport=stlport
BUILDLINK_PREFIX.stlport_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.stlport=	include/stlport/*
BUILDLINK_FILES.stlport+=	include/stlport/*/*
BUILDLINK_FILES.stlport+=	lib/stlport*

BUILDLINK_TARGETS.stlport=	stlport-buildlink
BUILDLINK_TARGETS+=		${BUILDLINK_TARGETS.stlport}

pre-configure: ${BUILDLINK_TARGETS.stlport}
stlport-buildlink: _BUILDLINK_USE

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