pkgsrc/x11/fox/buildlink.mk
fredb b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: buildlink.mk,v 1.2 2002/03/13 17:37:55 fredb Exp $
#
# This Makefile fragment is included by packages that use fox.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.fox to the dependency pattern
# for the version of fox 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(FOX_BUILDLINK_MK)
FOX_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.fox?= fox>=0.99.174nb1
DEPENDS+= ${BUILDLINK_DEPENDS.fox}:../../x11/fox
EVAL_PREFIX+= BUILDLINK_PREFIX.fox=fox
BUILDLINK_PREFIX.fox_DEFAULT= ${X11PREFIX}
BUILDLINK_FILES.fox= include/fox/*
BUILDLINK_FILES.fox+= lib/libFOX-*
BUILDLINK_FILES.fox+= lib/libFOX.*
BUILDLINK_TARGETS.fox= fox-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.fox}
CPPFLAGS+= -I${BUILDLINK_DIR}/include/fox
pre-configure: ${BUILDLINK_TARGETS.fox}
fox-buildlink: _BUILDLINK_USE
.endif # FOX_BUILDLINK_MK