diff options
author | wiz <wiz> | 2004-11-27 23:35:37 +0000 |
---|---|---|
committer | wiz <wiz> | 2004-11-27 23:35:37 +0000 |
commit | 876e6828ea176744cfce8bb056df55f64b1a20c8 (patch) | |
tree | 3cc742384f9a1271b6b443cb09f3c0f8f34fbce8 | |
parent | e0336f9aa427b61ccf5cee15e8bed2f76af43b1e (diff) | |
download | pkgsrc-876e6828ea176744cfce8bb056df55f64b1a20c8.tar.gz |
Fix broken libintl existence test; patch by minskim.
-rw-r--r-- | devel/gettext-lib/builtin.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/gettext-lib/builtin.mk b/devel/gettext-lib/builtin.mk index 511838dbf34..e88e45f9e64 100644 --- a/devel/gettext-lib/builtin.mk +++ b/devel/gettext-lib/builtin.mk @@ -1,14 +1,14 @@ -# $NetBSD: builtin.mk,v 1.14 2004/11/26 23:16:35 jlam Exp $ +# $NetBSD: builtin.mk,v 1.15 2004/11/27 23:35:37 wiz Exp $ .for _lib_ in intl . if !defined(_BLNK_LIB_FOUND.${_lib_}) _BLNK_LIB_FOUND.${_lib_}!= \ - if ${TEST} "`${ECHO} /usr/lib/lib${_lib_}.*`" = "/usr/lib/lib${_lib_}.*"; then \ - ${ECHO} "no"; \ - elif ${TEST} "`${ECHO} /lib/lib${_lib_}.*`" = "/lib/lib${_lib_}.*"; then \ - ${ECHO} "no"; \ - else \ + if ${TEST} "`${ECHO} /usr/lib/lib${_lib_}.*`" != "/usr/lib/lib${_lib_}.*"; then \ ${ECHO} "yes"; \ + elif ${TEST} "`${ECHO} /lib/lib${_lib_}.*`" != "/lib/lib${_lib_}.*"; then \ + ${ECHO} "yes"; \ + else \ + ${ECHO} "no"; \ fi BUILDLINK_VARS+= _BLNK_LIB_FOUND.${_lib_} . endif |