pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/features IRIX has /usr/include/getopt.h but it isn'...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c14b5b1c3504
branches: trunk
changeset: 538936:c14b5b1c3504
user: tnn <tnn%pkgsrc.org@localhost>
date: Thu Feb 21 14:08:48 2008 +0000
description:
IRIX has /usr/include/getopt.h but it isn't getopt_long. Account for this
in the feature test.
This should fix PR pkg/33012 and PR pkg/35293.
It maybe fixes PR pkg/37941 and PR pkg/37409.
I will go through the packages mentioned and see if any of them are
shared libraries (then they cannot use static nbcompat getopt_long but
must use libgetopt instead.)
diffstat:
mk/features/features-vars.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9e8ea8f15988 -r c14b5b1c3504 mk/features/features-vars.mk
--- a/mk/features/features-vars.mk Thu Feb 21 12:24:56 2008 +0000
+++ b/mk/features/features-vars.mk Thu Feb 21 14:08:48 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: features-vars.mk,v 1.16 2008/02/21 01:36:28 tnn Exp $
+# $NetBSD: features-vars.mk,v 1.17 2008/02/21 14:08:48 tnn Exp $
#
# The platforms that are supported by pkgsrc differ in the amount of
# functions they provide in the C library (libc). Functions that are
@@ -104,7 +104,7 @@
.for _feature_ in getopt_long
. if !empty(USE_FEATURES:M${_feature_})
-. if !exists(/usr/include/getopt.h)
+. if !exists(/usr/include/getopt.h) || ${OPSYS} == "IRIX"
MISSING_FEATURES+= ${_feature_}
. endif
. endif
Home |
Main Index |
Thread Index |
Old Index