diff options
author | wiz <wiz> | 2002-07-08 02:14:41 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-07-08 02:14:41 +0000 |
commit | 6c7f904faeec21e5b43183f0168d7dea1c560291 (patch) | |
tree | 7ff0dc553b0277e2195050447a8f652475d73c7f /graphics | |
parent | 739ce67e138e34a26c3f8251a1960ee61e33d48d (diff) | |
download | pkgsrc-6c7f904faeec21e5b43183f0168d7dea1c560291.tar.gz |
Fix buildlink, and add config wrapper for libart2-config.
Patch provided by Julio Merino in pkg/17425.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libart2/buildlink.mk | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/graphics/libart2/buildlink.mk b/graphics/libart2/buildlink.mk index 07b6e9a86f7..e6356e78163 100644 --- a/graphics/libart2/buildlink.mk +++ b/graphics/libart2/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.1.1.1 2002/05/22 21:30:31 agc Exp $ +# $NetBSD: buildlink.mk,v 1.2 2002/07/08 02:14:41 wiz Exp $ # # This Makefile fragment is included by packages that use the library # provided by libart2. @@ -23,14 +23,27 @@ DEPENDS+= ${BUILDLINK_DEPENDS.libart2}:../../graphics/libart2 EVAL_PREFIX+= BUILDLINK_PREFIX.libart2=libart2 BUILDLINK_PREFIX.libart2= ${LOCALBASE} -BUILDLINK_FILES.libart2= bin/libart22-config -BUILDLINK_FILES.libart2+= include/libart2-2.0/libart2_lgpl/* -BUILDLINK_FILES.libart2+= lib/libart2_lgpl_2.* +BUILDLINK_FILES.libart2= include/libart-2.0/libart_lgpl/* +BUILDLINK_FILES.libart2+= lib/libart_lgpl_2.* BUILDLINK_TARGETS.libart2= libart2-buildlink +BUILDLINK_TARGETS.libart2+= libart2-buildlink-config-wrapper BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libart2} +BUILDLINK_CONFIG.libart2= \ + ${BUILDLINK_PREFIX.libart2}/bin/libart2-config +BUILDLINK_CONFIG_WRAPPER.libart2= \ + ${BUILDLINK_DIR}/bin/libart2-config +REPLACE_BUILDLINK_SED+= \ + -e "s|${BUILDLINK_CONFIG_WRAPPER.libart2}|${BUILDLINK_CONFIG.libart2}|g" +.if defined(USE_CONFIG_WRAPPER) +LIBART2_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libart2} +CONFIGURE_ENV+= LIBART2_CONFIG="${LIBART2_CONFIG}" +MAKE_ENV+= LIBART2_CONFIG="${LIBART2_CONFIG}" +.endif + pre-configure: ${BUILDLINK_TARGETS.libart2} libart2-buildlink: _BUILDLINK_USE +libart2-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE .endif # LIBART2_BUILDLINK_MK |