pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/scrollkeeper Allow this file to keep working ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4fa32b159898
branches:  trunk
changeset: 468299:4fa32b159898
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 12 10:05:08 2004 +0000

description:
Allow this file to keep working with packages that haven't been bl3ified.

diffstat:

 textproc/scrollkeeper/omf.mk |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 2b841f7585f0 -r 4fa32b159898 textproc/scrollkeeper/omf.mk
--- a/textproc/scrollkeeper/omf.mk      Thu Feb 12 09:59:48 2004 +0000
+++ b/textproc/scrollkeeper/omf.mk      Thu Feb 12 10:05:08 2004 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index