pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/xpm drop the minimum required version of buil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62a8f6835115
branches:  trunk
changeset: 475592:62a8f6835115
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu May 20 11:25:57 2004 +0000

description:
drop the minimum required version of built-in xpm to 3.4. this is
actually still more strict than the buildlink2 behaviour (which would
allow any version), but at least packages requiring xpm can now build
again with builtin xpm on non-XFree86 platforms.

diffstat:

 graphics/xpm/builtin.mk |  14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r 23b17e95d8ac -r 62a8f6835115 graphics/xpm/builtin.mk
--- a/graphics/xpm/builtin.mk   Thu May 20 11:20:25 2004 +0000
+++ b/graphics/xpm/builtin.mk   Thu May 20 11:25:57 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.3 2004/04/24 21:20:56 snj Exp $
+# $NetBSD: builtin.mk,v 1.4 2004/05/20 11:25:57 grant Exp $
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -53,16 +53,14 @@
 
 .  if defined(BUILTIN_PKG.xpm)
 USE_BUILTIN.xpm=       yes
-.    for _depend_ in ${BUILDLINK_DEPENDS.xpm}
-.      if !empty(USE_BUILTIN.xpm:M[yY][eE][sS])
+.    if !empty(USE_BUILTIN.xpm:M[yY][eE][sS])
 USE_BUILTIN.xpm!=                                                      \
-       if ${PKG_ADMIN} pmatch '${_depend_}' ${BUILTIN_PKG.xpm}; then   \
+       if ${PKG_ADMIN} pmatch 'xpm>=3.4' ${BUILTIN_PKG.xpm}; then      \
                ${ECHO} "yes";                                          \
-       else                                                            \
+       else                                                            \
                ${ECHO} "no";                                           \
-       fi
-.      endif
-.    endfor
+       fi
+.    endif
 .  endif
 .endif # USE_BUILTIN.xpm
 



Home | Main Index | Thread Index | Old Index