diff options
author | wiz <wiz> | 2002-05-20 13:43:49 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-05-20 13:43:49 +0000 |
commit | d61c29feb05b21afb8cced4c4f19bcb47da5f1f3 (patch) | |
tree | 42b6ae65d3c8dd6de1f01ccd23f2eac0921cfd27 /print | |
parent | d59ec62727fba50c314a5cf1d9bca5056af77fd7 (diff) | |
download | pkgsrc-d61c29feb05b21afb8cced4c4f19bcb47da5f1f3.tar.gz |
Add buildlink.mk for kpathsea library, based on pkg/16906 by Ingolf Steinbach,
with some changes.
Diffstat (limited to 'print')
-rw-r--r-- | print/teTeX-bin/kpathsea.buildlink.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/print/teTeX-bin/kpathsea.buildlink.mk b/print/teTeX-bin/kpathsea.buildlink.mk new file mode 100644 index 00000000000..2d6fa987b09 --- /dev/null +++ b/print/teTeX-bin/kpathsea.buildlink.mk @@ -0,0 +1,34 @@ +# $NetBSD: kpathsea.buildlink.mk,v 1.1 2002/05/20 13:43:49 wiz Exp $ +# +# This Makefile fragment is included by packages that use libkpathsea. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.kpathsea to the dependency pattern +# for the version of libkpathsea 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(KPATHSEA_BUILDLINK_MK) +KPATHSEA_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.kpathsea?= teTeX-bin>=1.0.7nb2 +BUILD_DEPENDS+= ${BUILDLINK_DEPENDS.kpathsea}:../../print/teTeX-bin + +EVAL_PREFIX+= BUILDLINK_PREFIX.kpathsea=teTeX-bin +BUILDLINK_PREFIX.kpathsea_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.kpathsea= include/kpathsea/* +BUILDLINK_FILES.kpathsea+= lib/libkpathsea.a + +BUILDLINK_TARGETS.kpathsea= kpathsea-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.kpathsea} + +pre-configure: ${BUILDLINK_TARGETS} +kpathsea-buildlink: _BUILDLINK_USE + +.endif # KPATHSEA_BUILDLINK_MK |