Ticket #49526: change-rexx-maintainer.diff

File change-rexx-maintainer.diff, 5.3 KB (added by yoav.nir@…, 9 years ago)

Diff file for the port

  • Portfile

    diff -ur /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/rexx/Portfile ./Portfile
    old new  
    44
    55name                    rexx
    66conflicts               oorexx
    7 version                 3.5
    8 revision                2
     7version                 3.9.1
     8revision                0
    99categories              lang
    1010license                 LGPL
    1111platforms               darwin
    12 maintainers             nomaintainer
     12maintainers             gmail.com:yoav.nir
    1313description             Regina Rexx is an interpreter for the Rexx language
    1414long_description        Regina is an implementation of the 1996 ANSI Standard for \
    1515                                        the Rexx language. Rexx is designed to be an easily \
     
    2020master_sites    sourceforge:regina-rexx
    2121distname                Regina-REXX-${version}
    2222
    23 checksums               sha1 b42c8483658a935b62e935c478470f0e81b4ebf5 \
    24                                 rmd160 f7170c07904d762d9d8a6f8f8730a61abb0889f3
     23checksums               sha1 36b3cfbf78e5059ed615d2e162d7a19a0b4f48f8 \
     24                                rmd160 45666e3304ad482cc543054ca9b6dcbbaee6d66d
    2525
    2626patchfiles                      patch-configure.diff
    2727
  • files/patch-configure.diff

    Only in .: change-rexx-maintainer.diff
    diff -ur /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/rexx/files/patch-configure.diff ./files/patch-configure.diff
    old new  
    1 --- configure.orig      2009-12-30 17:56:37.000000000 -0600
    2 +++ configure   2010-11-19 17:09:55.000000000 -0600
    3 @@ -3080,66 +3080,6 @@
    4  #     mymakefile="Makefile.aix"
    5        ;;
    6     *apple-darwin*)
    7 -      { echo "$as_me:$LINENO: checking for which Mac OSX -arch flags are supported" >&5
    8 -echo $ECHO_N "checking for which Mac OSX -arch flags are supported... $ECHO_C" >&6; }
    9 -valid_arch_flags=""
    10 -found_arch_flags=""
    11 -arch_flags="ppc ppc64 x86_64 i386"
    12 -for a in $arch_flags; do
    13 -  save_ldflags="$LDFLAGS"
    14 -  LDFLAGS="$LDFLAGS -arch $a"
    15 -  cat >conftest.$ac_ext <<_ACEOF
    16 -/* confdefs.h.  */
    17 -_ACEOF
    18 -cat confdefs.h >>conftest.$ac_ext
    19 -cat >>conftest.$ac_ext <<_ACEOF
    20 -/* end confdefs.h.  */
    21 -#include <stdio.h>
    22 -int
    23 -main ()
    24 -{
    25 -exit(0)
    26 -  ;
    27 -  return 0;
    28 -}
    29 -_ACEOF
    30 -rm -f conftest.$ac_objext conftest$ac_exeext
    31 -if { (ac_try="$ac_link"
    32 -case "(($ac_try" in
    33 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    34 -  *) ac_try_echo=$ac_try;;
    35 -esac
    36 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    37 -  (eval "$ac_link") 2>conftest.er1
    38 -  ac_status=$?
    39 -  grep -v '^ *+' conftest.er1 >conftest.err
    40 -  rm -f conftest.er1
    41 -  cat conftest.err >&5
    42 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43 -  (exit $ac_status); } && {
    44 -        test -z "$ac_c_werror_flag" ||
    45 -        test ! -s conftest.err
    46 -       } && test -s conftest$ac_exeext &&
    47 -       $as_test_x conftest$ac_exeext; then
    48 -  valid_arch_flags="$valid_arch_flags -arch $a";found_arch_flags="$found_arch_flags $a"
    49 -else
    50 -  echo "$as_me: failed program was:" >&5
    51 -sed 's/^/| /' conftest.$ac_ext >&5
    52 -
    53 -       a="$a"
    54 -
    55 -fi
    56 -
    57 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    58 -      conftest$ac_exeext conftest.$ac_ext
    59 -  LDFLAGS="$save_ldflags"
    60 -done
    61 -{ echo "$as_me:$LINENO: result: $found_arch_flags" >&5
    62 -echo "${ECHO_T}$found_arch_flags" >&6; }
    63 -
    64 -
    65 -      SYS_DEFS="$valid_arch_flags"
    66 -      EEXTRA="$valid_arch_flags"
    67        ;;
    68     *dec-osf*)
    69        ;;
    70 @@ -9574,10 +9514,9 @@
    71                  #
    72  # MH                LD_RXLIB_A1="${CC} -bundle -flat_namespace -undefined suppress -o \$(@)"
    73  # MH                LD_RXLIB_A2="${CC} -bundle -flat_namespace -undefined suppress -o \$(@)"
    74 -                EEXTRA="$valid_arch_flags"
    75 -                LD_RXLIB_A1="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -o \$(@)"
    76 -                LD_RXLIB_A2="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -o \$(@)"
    77 -                LD_RXLIB_UTILA="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -o \$(@)"
    78 +                LD_RXLIB_A1="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -install_name ${libdir}/\$(@) -o \$(@)"
    79 +                LD_RXLIB_A2="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -install_name ${libdir}/\$(@) -o \$(@)"
    80 +                LD_RXLIB_UTILA="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -install_name ${libdir}/\$(@) -o \$(@)"
    81                  LD_RXLIB_B1="-L. -l${SHLFILE} -lc \$(SHLIBS)"
    82                  LD_RXLIB_B2="-L. -l${SHLFILE} -lc \$(SHLIBS)"
    83                  LD_RXLIB_UTILB="-L. -l${SHLFILE} -lc \$(SHLIBS)"
    84 @@ -9585,7 +9524,7 @@
    85                  SHLPRE="lib"
    86  # MH                BUNDLE=".so"
    87                  BUNDLE=".junk"
    88 -                SHL_LD="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -install_name ${SHLPRE}${SHLFILE}${SHLPST} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
    89 +                SHL_LD="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -install_name ${libdir}/${SHLPRE}${SHLFILE}${SHLPST} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
    90                  SHL_BASE="${LIBPRE}${SHLFILE}${SHLPST}"
    91  # MH                EXTRATARGET="libregina$BUNDLE"
    92                  OTHER_INSTALLS="installlib"
     1--- configure.orig      2015-10-29 23:28:34.000000000 +0200
     2+++ configure   2015-10-29 23:26:45.000000000 +0200
     3@@ -889,7 +889,7 @@
     4 dvidir='${docdir}'
     5 pdfdir='${docdir}'
     6 psdir='${docdir}'
     7-libdir='${exec_prefix}/lib'
     8+libdir='${prefix}/lib'
     9 localedir='${datarootdir}/locale'
     10 mandir='${datarootdir}/man'
     11