pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/dateutils Create portable binary packages. Bump r...
details: https://anonhg.NetBSD.org/pkgsrc/rev/26bfe09dea3d
branches: trunk
changeset: 648804:26bfe09dea3d
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Mar 19 19:17:18 2015 +0000
description:
Create portable binary packages. Bump revision.
diffstat:
time/dateutils/Makefile | 3 +-
time/dateutils/distinfo | 4 +-
time/dateutils/patches/patch-configure | 338 ++++++++++++++++++++++++
time/dateutils/patches/patch-m4_sxe-compiler.m4 | 15 +
4 files changed, 358 insertions(+), 2 deletions(-)
diffs (truncated from 387 to 300 lines):
diff -r f5aa30fa71ae -r 26bfe09dea3d time/dateutils/Makefile
--- a/time/dateutils/Makefile Thu Mar 19 19:16:31 2015 +0000
+++ b/time/dateutils/Makefile Thu Mar 19 19:17:18 2015 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2014/12/16 02:22:44 mef Exp $
+# $NetBSD: Makefile,v 1.6 2015/03/19 19:17:18 joerg Exp $
DISTNAME= dateutils-0.3.1
+PKGREVISION= 1
CATEGORIES= time
MASTER_SITES= https://github.com/hroptatyr/dateutils/releases/download/v0.3.1/
MASTER_SITES+= https://bitbucket.org/hroptatyr/dateutils/downloads/
diff -r f5aa30fa71ae -r 26bfe09dea3d time/dateutils/distinfo
--- a/time/dateutils/distinfo Thu Mar 19 19:16:31 2015 +0000
+++ b/time/dateutils/distinfo Thu Mar 19 19:17:18 2015 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.4 2014/12/16 01:51:35 mef Exp $
+$NetBSD: distinfo,v 1.5 2015/03/19 19:17:18 joerg Exp $
SHA1 (dateutils-0.3.1.tar.xz) = 07884be555998aa649733401e65f073ada89ac08
RMD160 (dateutils-0.3.1.tar.xz) = a45ed9fb1c5d5107883fb3cfdf3f43d238e0497c
Size (dateutils-0.3.1.tar.xz) = 586848 bytes
SHA1 (patch-Makefile.am) = 936ad7f986ff5cb8bec5f85c96a17657fca2774f
SHA1 (patch-Makefile.in) = ff5aaffb2046f17189b9074090c68295df5fb57a
+SHA1 (patch-configure) = 191c8d1d2a81ecbea8a699a6da1a161c06688db4
+SHA1 (patch-m4_sxe-compiler.m4) = 0ac9b1337c7a1de66f644aaf1a048f404d521e7b
diff -r f5aa30fa71ae -r 26bfe09dea3d time/dateutils/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/dateutils/patches/patch-configure Thu Mar 19 19:17:18 2015 +0000
@@ -0,0 +1,338 @@
+$NetBSD: patch-configure,v 1.1 2015/03/19 19:17:18 joerg Exp $
+
+Don't create broken or non-portable binaries. This code isn't even
+performance critical.
+
+--- configure.orig 2015-03-19 00:03:08.000000000 +0000
++++ configure
+@@ -7779,330 +7779,6 @@ $as_echo_n "checking for preferred warni
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${warnflags}" >&5
+ $as_echo "${warnflags}" >&6; }
+
+-
+-
+- case " ${CFLAGS} ${EXTRA_CFLAGS}" in
+- (*" -O"0-9)
+- ;;
+- (*)
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -O3" >&5
+-$as_echo_n "checking whether C compiler accepts -O3... " >&6; }
+-
+- ## store werror status, then turn -Werror on
+- save_ac_c_werror_flag="${ac_c_werror_flag}"
+-
+-ac_c_werror_flag=yes
+-
+- if ${sxe_cv_c_flag__O3+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- sxe_save_FLAGS="${CFLAGS}"
+- CFLAGS="-O3"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+- eval sxe_cv_c_flag__O3="yes"
+-else
+- eval sxe_cv_c_flag__O3="no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="${sxe_save_FLAGS}"
+-
+-fi
+-
+- eval sxe_check_flag=$sxe_cv_c_flag__O3
+- ac_c_werror_flag="${save_ac_c_werror_flag}"
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
+-$as_echo "${sxe_check_flag}" >&6; }
+- if test "${sxe_check_flag}" = "yes"; then
+- :
+-
+- optiflags="${optiflags} -O3"
+- else
+- :
+-
+- fi
+-
+- ;;
+- esac
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ipo256" >&5
+-$as_echo_n "checking whether C compiler accepts -ipo256... " >&6; }
+-
+- ## store werror status, then turn -Werror on
+- save_ac_c_werror_flag="${ac_c_werror_flag}"
+-
+-ac_c_werror_flag=yes
+-
+- if ${sxe_cv_c_flag__ipo256+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- sxe_save_FLAGS="${CFLAGS}"
+- CFLAGS="-ipo256"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+- eval sxe_cv_c_flag__ipo256="yes"
+-else
+- eval sxe_cv_c_flag__ipo256="no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="${sxe_save_FLAGS}"
+-
+-fi
+-
+- eval sxe_check_flag=$sxe_cv_c_flag__ipo256
+- ac_c_werror_flag="${save_ac_c_werror_flag}"
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
+-$as_echo "${sxe_check_flag}" >&6; }
+- if test "${sxe_check_flag}" = "yes"; then
+- :
+-
+- optiflags="${optiflags} -ipo256"
+- else
+- :
+-
+- fi
+-
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ipo-jobs256" >&5
+-$as_echo_n "checking whether C compiler accepts -ipo-jobs256... " >&6; }
+-
+- ## store werror status, then turn -Werror on
+- save_ac_c_werror_flag="${ac_c_werror_flag}"
+-
+-ac_c_werror_flag=yes
+-
+- if ${sxe_cv_c_flag__ipo_jobs256+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- sxe_save_FLAGS="${CFLAGS}"
+- CFLAGS="-ipo-jobs256"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+- eval sxe_cv_c_flag__ipo_jobs256="yes"
+-else
+- eval sxe_cv_c_flag__ipo_jobs256="no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="${sxe_save_FLAGS}"
+-
+-fi
+-
+- eval sxe_check_flag=$sxe_cv_c_flag__ipo_jobs256
+- ac_c_werror_flag="${save_ac_c_werror_flag}"
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
+-$as_echo "${sxe_check_flag}" >&6; }
+- if test "${sxe_check_flag}" = "yes"; then
+- :
+-
+- optiflags="${optiflags} -ipo-jobs256"
+- else
+- :
+-
+- fi
+-
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -no-prec-div" >&5
+-$as_echo_n "checking whether C compiler accepts -no-prec-div... " >&6; }
+-
+- ## store werror status, then turn -Werror on
+- save_ac_c_werror_flag="${ac_c_werror_flag}"
+-
+-ac_c_werror_flag=yes
+-
+- if ${sxe_cv_c_flag__no_prec_div+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- sxe_save_FLAGS="${CFLAGS}"
+- CFLAGS="-no-prec-div"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+- eval sxe_cv_c_flag__no_prec_div="yes"
+-else
+- eval sxe_cv_c_flag__no_prec_div="no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="${sxe_save_FLAGS}"
+-
+-fi
+-
+- eval sxe_check_flag=$sxe_cv_c_flag__no_prec_div
+- ac_c_werror_flag="${save_ac_c_werror_flag}"
+-
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sxe_check_flag}" >&5
+-$as_echo "${sxe_check_flag}" >&6; }
+- if test "${sxe_check_flag}" = "yes"; then
+- :
+-
+- optiflags="${optiflags} -no-prec-div"
+- else
+- :
+-
+- fi
+-
+-
+- ## -fast implies -static which is a dream but
+- ## packager prefer dynamic binaries
+-
+- ## auto-vectorisation
+-
+- case " ${CFLAGS} ${EXTRA_CFLAGS}" in
+- (*" -mtune"*)
+- ## don't tune
+- ;;
+- (*" -march"*)
+- ## don't set march
+- ;;
+- (*" -m32 "*)
+- ## don't bother
+- ;;
+- (*" -m64 "*)
+- ## don't bother
+- ;;
+- (*)
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -xHost" >&5
+-$as_echo_n "checking whether C compiler accepts -xHost... " >&6; }
+-
+- ## store werror status, then turn -Werror on
+- save_ac_c_werror_flag="${ac_c_werror_flag}"
+-
+-ac_c_werror_flag=yes
+-
+- if ${sxe_cv_c_flag__xHost+:} false; then :
+- $as_echo_n "(cached) " >&6
+-else
+- sxe_save_FLAGS="${CFLAGS}"
+- CFLAGS="-xHost"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-int
+-main ()
+-{
+-
+- ;
+- return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"; then :
+- eval sxe_cv_c_flag__xHost="yes"
+-else
+- eval sxe_cv_c_flag__xHost="no"
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+- CFLAGS="${sxe_save_FLAGS}"
+-
+-fi
+-
+- eval sxe_check_flag=$sxe_cv_c_flag__xHost
+- ac_c_werror_flag="${save_ac_c_werror_flag}"
Home |
Main Index |
Thread Index |
Old Index