Subject: pkg/23391: Add buildlink2.mk to Netatalk
To: None <gnats-bugs@gnats.netbsd.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 11/07/2003 22:02:27
>Number: 23391
>Category: pkg
>Synopsis: Add buildlink2.mk to Netatalk
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Nov 07 21:58:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
>Release: NetBSD 1.6.2_RC1
>Organization:
Einzeln auftretender Radfahrer
>Environment:
System: NetBSD pizza.causeuse.org 1.6.2_RC1 NetBSD 1.6.2_RC1 (PIZZA) #15: Thu Nov 6 20:29:27 CET 2003 hauke@pizza.causeuse.org:/usr/src/sys/arch/sparc/compile/PIZZA sparc
Architecture: sparc
Machine: sparc
>Description:
Netatalk exports an API for unix programs that want to communicate
via the AppleTalk protocol. So far, no such program is in
pkgsrc. Natali, a support package to the PPR print spooler,
implements the SysV AppleTalk API, and needs a dependency on
Netatalk.
>How-To-Repeat:
Create NetBSD package for natali, which depends on
Netatalk. Note that the preferred mechanism to set this up is
not supported by teh Netatalk package.
>Fix:
Add the following as "net/netatalk/buildlink2.mk" (I hope the list is
complete):
# $NetBSD$
.if !defined(NETATALK_BUILDLINK2_MK)
NETATALK_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= netatalk
BUILDLINK_DEPENDS.netatalk?= netatalk>=1.5
BUILDLINK_PKGSRCDIR.netatalk?= ../../net/netatalk
EVAL_PREFIX+= BUILDLINK_PREFIX.netatalk=netatalk
BUILDLINK_PREFIX.netatalk_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.netatalk= include/atalk/adouble.h
BUILDLINK_FILES.netatalk+= include/atalk/aep.h
BUILDLINK_FILES.netatalk+= include/atalk/afp.h
BUILDLINK_FILES.netatalk+= include/atalk/asp.h
BUILDLINK_FILES.netatalk+= include/atalk/atp.h
BUILDLINK_FILES.netatalk+= include/atalk/boolean.h
BUILDLINK_FILES.netatalk+= include/atalk/cnid.h
BUILDLINK_FILES.netatalk+= include/atalk/compat.h
BUILDLINK_FILES.netatalk+= include/atalk/ddp.h
BUILDLINK_FILES.netatalk+= include/atalk/dsi.h
BUILDLINK_FILES.netatalk+= include/atalk/logger.h
BUILDLINK_FILES.netatalk+= include/atalk/nbp.h
BUILDLINK_FILES.netatalk+= include/atalk/netddp.h
BUILDLINK_FILES.netatalk+= include/atalk/pap.h
BUILDLINK_FILES.netatalk+= include/atalk/paths.h
BUILDLINK_FILES.netatalk+= include/atalk/rtmp.h
BUILDLINK_FILES.netatalk+= include/atalk/server_child.h
BUILDLINK_FILES.netatalk+= include/atalk/uam.h
BUILDLINK_FILES.netatalk+= include/atalk/util.h
BUILDLINK_FILES.netatalk+= include/atalk/zip.h
BUILDLINK_FILES.netatalk+= include/netatalk/aarp.c
BUILDLINK_FILES.netatalk+= include/netatalk/aarp.h
BUILDLINK_FILES.netatalk+= include/netatalk/at.h
BUILDLINK_FILES.netatalk+= include/netatalk/at_control.c
BUILDLINK_FILES.netatalk+= include/netatalk/at_proto.c
BUILDLINK_FILES.netatalk+= include/netatalk/at_var.h
BUILDLINK_FILES.netatalk+= include/netatalk/ddp.h
BUILDLINK_FILES.netatalk+= include/netatalk/ddp_input.c
BUILDLINK_FILES.netatalk+= include/netatalk/ddp_output.c
BUILDLINK_FILES.netatalk+= include/netatalk/ddp_usrreq.c
BUILDLINK_FILES.netatalk+= include/netatalk/ddp_var.h
BUILDLINK_FILES.netatalk+= include/netatalk/endian.h
BUILDLINK_FILES.netatalk+= include/netatalk/phase2.h
BUILDLINK_FILES.netatalk+= lib/libatalk.*
BUILDLINK_TARGETS+= netatalk-buildlink
netatalk-buildlink: _BUILDLINK_USE
.endif # NETATALK_BUILDLINK2_MK
>Release-Note:
>Audit-Trail:
>Unformatted: