diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-12 10:05:08 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-12 10:05:08 +0000 |
commit | 082cb757a597e5eb5c3db410d77291872e005cb5 (patch) | |
tree | d04c9d6056e0a1f4b551f8a2c7cb8d07e7c5827a /textproc/scrollkeeper | |
parent | c971ffc5fa0fe05d3ba451f891946ee150598382 (diff) | |
download | pkgsrc-082cb757a597e5eb5c3db410d77291872e005cb5.tar.gz |
Allow this file to keep working with packages that haven't been bl3ified.
Diffstat (limited to 'textproc/scrollkeeper')
-rw-r--r-- | textproc/scrollkeeper/omf.mk | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/textproc/scrollkeeper/omf.mk b/textproc/scrollkeeper/omf.mk index 7120bf694f3..672b777535d 100644 --- a/textproc/scrollkeeper/omf.mk +++ b/textproc/scrollkeeper/omf.mk @@ -1,4 +1,4 @@ -# $NetBSD: omf.mk,v 1.2 2004/02/11 04:35:21 xtraeme Exp $ +# $NetBSD: omf.mk,v 1.3 2004/02/12 10:05:08 jlam Exp $ # # This Makefile fragment is intended to be included by packages that install # OMF files. It takes care of registering them in scrollkeeper's global @@ -13,6 +13,8 @@ .if !defined(SCROLLKEEPER_OMF_MK) SCROLLKEEPER_OMF_MK= # defined +. include "../../mk/bsd.prefs.mk" + # scrollkeeper's data directory. SCROLLKEEPER_DATADIR= ${BUILDLINK_PREFIX.scrollkeeper}/libdata/scrollkeeper @@ -28,6 +30,12 @@ FILES_SUBST+= SCROLLKEEPER_DATADIR="${SCROLLKEEPER_DATADIR}" FILES_SUBST+= SCROLLKEEPER_REBUILDDB="${SCROLLKEEPER_REBUILDDB}" FILES_SUBST+= SCROLLKEEPER_UPDATEDB="${SCROLLKEEPER_UPDATEDB}" -.include "../../textproc/scrollkeeper/buildlink3.mk" +.if !defined(NO_BUILDLINK) +. if !empty(USE_BUILDLINK3:M[yY][eE][sS]) +. include "../../textproc/scrollkeeper/buildlink3.mk" +. elif empty(USE_BUILDLINK2:M[nN][oO]) +. include "../../textproc/scrollkeeper/buildlink3.mk" +. endif +.endif .endif # SCROLLKEEPER_OMF_MK |