diff options
author | tnn <tnn> | 2008-02-21 14:08:48 +0000 |
---|---|---|
committer | tnn <tnn> | 2008-02-21 14:08:48 +0000 |
commit | 9458981ceae56e089270f855fc3a2e9beda54330 (patch) | |
tree | 71f91a8eb20a676a4005069c00a736bd09aa932e /mk/features | |
parent | b5b9ff509e7f9e5774dd85ea4317fac319ad579c (diff) | |
download | pkgsrc-9458981ceae56e089270f855fc3a2e9beda54330.tar.gz |
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 (limited to 'mk/features')
-rw-r--r-- | mk/features/features-vars.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/features/features-vars.mk b/mk/features/features-vars.mk index 277a6979264..71c6d3d8999 100644 --- a/mk/features/features-vars.mk +++ b/mk/features/features-vars.mk @@ -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 @@ MISSING_FEATURES+= ${_feature_} .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 |