pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/pflkm Remove part of the builtin version dete...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c65f7495face
branches:  trunk
changeset: 484909:c65f7495face
user:      peter <peter%pkgsrc.org@localhost>
date:      Wed Dec 01 00:20:20 2004 +0000

description:
Remove part of the builtin version detection that doesn't work properly.
It can't be fixed easily because the pflkm package uses different versioning
(dates instead of 3.5, 3.6, etc). So just disable it for now until I've
found a better way to handle this.

Approved by wiz.

diffstat:

 security/pflkm/builtin.mk |  24 ++++--------------------
 1 files changed, 4 insertions(+), 20 deletions(-)

diffs (36 lines):

diff -r c454f767b7b8 -r c65f7495face security/pflkm/builtin.mk
--- a/security/pflkm/builtin.mk Tue Nov 30 23:37:11 2004 +0000
+++ b/security/pflkm/builtin.mk Wed Dec 01 00:20:20 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.1.1.1 2004/11/05 15:05:30 peter Exp $
+# $NetBSD: builtin.mk,v 1.2 2004/12/01 00:20:20 peter Exp $
 
 _PF_VERSION=   3.6     # pkg default
 _PF_PFVAR_H=   /usr/include/net/pfvar.h
@@ -19,23 +19,7 @@
 
 _PF_VERSION=           ${BUILTIN_PKG.pflkm}
 
-.endif # exists(${_PF_PFVAR_H})
-
-.if !defined(USE_BUILTIN.pflkm)
-USE_BUILTIN.pflkm?=    ${IS_BUILTIN.pflkm}
+.  endif       # exists(${_PF_PFVAR_H})
+.endif # IS_BUILTIN.pflkm
 
-.  if defined(BUILTIN_PKG.pflkm)
-USE_BUILTIN.pflkm=     yes
-.    for _depend_ in ${BUILDLINK_DEPENDS.pflkm}
-.      if !empty(USE_BUILTIN.pflkm:M[yY][eE][sS])
-USE_BUILTIN.pflkm!=    \
-       if ${PKG_ADMIN} pmatch '${_depend_}' ${BUILTIN_PKG.pflkm}; then \
-               ${ECHO} "yes";                                          \
-       else                                                            \
-               ${ECHO} "no";                                           \
-       fi
-.      endif
-.    endfor
-.  endif
-.endif # USE_BUILTIN.pflkm
-.endif  # IS_BUILTIN.pflkm
+USE_BUILTIN.pflkm?=    ${IS_BUILTIN.pflkm}



Home | Main Index | Thread Index | Old Index