- update to gnustep-base-1.16.1

- use devel/gettext MODULE
This commit is contained in:
ajacoutot 2008-06-23 10:59:37 +00:00
parent 60db373dbd
commit bfda90649e
6 changed files with 941 additions and 701 deletions

View File

@ -1,25 +1,31 @@
# $OpenBSD: Makefile,v 1.12 2008/05/06 12:26:01 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.13 2008/06/23 10:59:37 ajacoutot Exp $
COMMENT= GNUstep base library
DISTNAME= gnustep-base-1.14.3
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gnustep-base 1.14 # .1.14.2
DISTNAME= gnustep-base-1.16.1
SHARED_LIBS= gnustep-base 1.16 # .1.16.1
CATEGORIES= devel
HOMEPAGE= http://www.gnustep.org/
WANTLIB= c crypto iberty iconv m objc pthread ssl xml2 z
WANTLIB= c crypto gcrypt gpg-error m objc pthread ssl xml2 z
.if ${MACHINE_ARCH} != "amd64"
WANTLIB+= iberty
.endif
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/
MODULES= x11/gnustep
MODULES= x11/gnustep \
devel/gettext
LIB_DEPENDS= avcall.>=1,callback.>=1::devel/ffcall \
gmp.>=7::devel/gmp \
xslt.>=3::textproc/libxslt
xslt.>=3::textproc/libxslt \
gnutls.>=13::security/gnutls
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-procfs
CONFIGURE_ARGS= --disable-procfs \
--disable-procfs-psinfo
pre-configure:
@perl -pi -e 's,^MAJOR_VERSION=.*,MAJOR_VERSION=${LIBgnustep-base_VERSION:R},g;' \
@ -27,6 +33,6 @@ pre-configure:
${WRKSRC}/Version
post-install:
@rm ${PREFIX}/lib/GNUstep/Libraries/gnustep-base/Versions/1.14/Resources/NSTimeZones/.README.swp
@rm ${PREFIX}/lib/GNUstep/Libraries/gnustep-base/Versions/${LIBgnustep-base_VERSION}/Resources/NSTimeZones/.README.swp
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (gnustep/gnustep-base-1.14.3.tar.gz) = HiD/Go9Ka2QCdZ8Tvv++nw==
RMD160 (gnustep/gnustep-base-1.14.3.tar.gz) = v00jrMdeOnYrcedEQZWUWCRrJi8=
SHA1 (gnustep/gnustep-base-1.14.3.tar.gz) = mGdCT8786RSsHU383KYWZz6SZ9c=
SHA256 (gnustep/gnustep-base-1.14.3.tar.gz) = B9zEt1DSQC+04klcSvqAa2xtJ37PJUZ0jpQX24n8dwI=
SIZE (gnustep/gnustep-base-1.14.3.tar.gz) = 2369272
MD5 (gnustep/gnustep-base-1.16.1.tar.gz) = i8GU6nDeg/Cbex29YqP8dg==
RMD160 (gnustep/gnustep-base-1.16.1.tar.gz) = kLRoMPG7D/vXzRb4Gm4frMlA+ww=
SHA1 (gnustep/gnustep-base-1.16.1.tar.gz) = 9xTMOjONmgjYUvz3mkl4by+usPU=
SHA256 (gnustep/gnustep-base-1.16.1.tar.gz) = WozHjUv29wDhIXWAvEiCzTCDZy/84NYBOdt/UXjqKoc=
SIZE (gnustep/gnustep-base-1.16.1.tar.gz) = 2473011

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Source_NSObject_m,v 1.1.1.1 2007/05/29 03:01:35 ajacoutot Exp $
--- Source/NSObject.m.orig Mon May 28 17:25:27 2007
+++ Source/NSObject.m Mon May 28 17:26:02 2007
@@ -1092,7 +1092,7 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
$OpenBSD: patch-Source_NSObject_m,v 1.2 2008/06/23 10:59:37 ajacoutot Exp $
--- Source/NSObject.m.orig Thu Jun 12 12:44:00 2008
+++ Source/NSObject.m Mon Jun 23 11:26:24 2008
@@ -1125,7 +1125,7 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
#endif
#endif

View File

@ -1,21 +1,21 @@
$OpenBSD: patch-Tools_Makefile_postamble,v 1.1.1.1 2007/05/29 03:01:35 ajacoutot Exp $
--- Tools/Makefile.postamble.orig Fri May 11 14:21:27 2007
+++ Tools/Makefile.postamble Fri May 11 14:21:55 2007
@@ -49,8 +49,6 @@ after-install::
$OpenBSD: patch-Tools_Makefile_postamble,v 1.2 2008/06/23 10:59:37 ajacoutot Exp $
--- Tools/Makefile.postamble.orig Mon Jun 23 11:25:47 2008
+++ Tools/Makefile.postamble Mon Jun 23 11:26:06 2008
@@ -50,8 +50,6 @@ after-install::
for file in $(MAN1_PAGES) __done; do \
if [ $$file != __done ]; then \
$(INSTALL_DATA) $$file $(GNUSTEP_DOCUMENTATION_MAN)/man1/$$file; \
- which gzip && rm -f $(GNUSTEP_DOCUMENTATION_MAN)/man1/$$file.gz \
- && gzip -9 $(GNUSTEP_DOCUMENTATION_MAN)/man1/$$file; \
$(INSTALL_DATA) $$file $(GNUSTEP_DOC_MAN)/man1/$$file; \
- which gzip && rm -f $(GNUSTEP_DOC_MAN)/man1/$$file.gz \
- && gzip -9 $(GNUSTEP_DOC_MAN)/man1/$$file; \
fi; \
done; \
if [ ! -f $(GNUSTEP_DOCUMENTATION_MAN)/man8 ]; then \
@@ -58,8 +56,6 @@ after-install::
if [ ! -f $(GNUSTEP_DOC_MAN)/man8 ]; then \
@@ -59,8 +57,6 @@ after-install::
fi; \
for file in $(MAN8_PAGES); do \
$(INSTALL_DATA) $$file $(GNUSTEP_DOCUMENTATION_MAN)/man8/$$file; \
- which gzip && rm -f $(GNUSTEP_DOCUMENTATION_MAN)/man8/$$file.gz \
- && gzip -9 $(GNUSTEP_DOCUMENTATION_MAN)/man8/$$file; \
$(INSTALL_DATA) $$file $(GNUSTEP_DOC_MAN)/man8/$$file; \
- which gzip && rm -f $(GNUSTEP_DOC_MAN)/man8/$$file.gz \
- && gzip -9 $(GNUSTEP_DOC_MAN)/man8/$$file; \
done; \
if [ "`$(WHOAMI)`" != "root" ]; then \
echo ""; \

View File

@ -0,0 +1,231 @@
$OpenBSD: patch-configure,v 1.1 2008/06/23 10:59:37 ajacoutot Exp $
--- configure.orig Mon Jun 23 11:37:03 2008
+++ configure Mon Jun 23 11:37:57 2008
@@ -18160,227 +18160,6 @@ fi
#--------------------------------------------------------------------
-# Check for NSNetServices
-#--------------------------------------------------------------------
-HAVE_MDNS=0
-
-for ac_header in dns_sd.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
- { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
- { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
- # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_header_compiler=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
- ac_header_preproc=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So? What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
- yes:no: )
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
- ac_header_preproc=yes
- ;;
- no:yes:* )
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-
- ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
- { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
- have_mdns=yes
-else
- have_mdns=no
-fi
-
-done
-
-if test "$have_mdns" = "yes"; then
- { echo "$as_me:$LINENO: checking for DNSServiceBrowse in -ldns_sd" >&5
-echo $ECHO_N "checking for DNSServiceBrowse in -ldns_sd... $ECHO_C" >&6; }
-if test "${ac_cv_lib_dns_sd_DNSServiceBrowse+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldns_sd $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char DNSServiceBrowse ();
-int
-main ()
-{
-return DNSServiceBrowse ();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- ac_cv_lib_dns_sd_DNSServiceBrowse=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cv_lib_dns_sd_DNSServiceBrowse=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dns_sd_DNSServiceBrowse" >&5
-echo "${ECHO_T}$ac_cv_lib_dns_sd_DNSServiceBrowse" >&6; }
-if test $ac_cv_lib_dns_sd_DNSServiceBrowse = yes; then
- have_mdns=yes
-else
- have_mdns=no
-fi
-
- if test "$have_mdns" = "yes"; then
- LIBS="-ldns_sd $LIBS"
- HAVE_MDNS=1
- fi
-fi
-
-
-#--------------------------------------------------------------------
# Check GMP for NSDecimal
#--------------------------------------------------------------------

File diff suppressed because it is too large Load Diff