diff options
author | jlam <jlam> | 2004-02-12 10:05:08 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-12 10:05:08 +0000 |
commit | 1117b8e99083cf01bd5f7948ccb15415fe76a304 (patch) | |
tree | d04c9d6056e0a1f4b551f8a2c7cb8d07e7c5827a | |
parent | ad88f74e7a2f1201e7f41926f772fe9bde498c8b (diff) | |
download | pkgsrc-1117b8e99083cf01bd5f7948ccb15415fe76a304.tar.gz |
Allow this file to keep working with packages that haven't been bl3ified.
-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 |