diff options
author | marino <marino@pkgsrc.org> | 2012-10-12 15:29:35 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-10-12 15:29:35 +0000 |
commit | 3f5a238c47f966c42a1746e84ac7efcf9542729f (patch) | |
tree | 130a278dd41de060ad08224bf5438909a48478d0 | |
parent | 6c4678138d4a6440aa5439f2039a0b24499c45de (diff) | |
download | pkgsrc-3f5a238c47f966c42a1746e84ac7efcf9542729f.tar.gz |
lang/pfe: Fix linker switch typo
Change "-W," to "-Wl," in configure script.
GCC 4.7.2 doesn't let the typo pass like order GCCs do.
-rw-r--r-- | lang/pfe/distinfo | 3 | ||||
-rw-r--r-- | lang/pfe/patches/patch-pfe_configure | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/pfe/distinfo b/lang/pfe/distinfo index 373738061d4..30e26ad9082 100644 --- a/lang/pfe/distinfo +++ b/lang/pfe/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/11/15 14:17:44 asau Exp $ +$NetBSD: distinfo,v 1.2 2012/10/12 15:29:35 marino Exp $ SHA1 (pfe-0.33.71.tar.bz2) = 2e61bbf550767793b20bffc544b625fc4e889f44 RMD160 (pfe-0.33.71.tar.bz2) = 5bfdc5561c281f5d506151ec17552b03e6a411ab Size (pfe-0.33.71.tar.bz2) = 1789663 bytes SHA1 (patch-aa) = 8e2612bb1a828e531c023011f8ff4bb64d16c511 +SHA1 (patch-pfe_configure) = c1b2aaa1a2cc2d5dac1d9717e5450c45067bdbb8 diff --git a/lang/pfe/patches/patch-pfe_configure b/lang/pfe/patches/patch-pfe_configure new file mode 100644 index 00000000000..48f58824631 --- /dev/null +++ b/lang/pfe/patches/patch-pfe_configure @@ -0,0 +1,16 @@ +$NetBSD: patch-pfe_configure,v 1.1 2012/10/12 15:29:35 marino Exp $ + +Fix typo "-W," -> "-Wl,". GCC 4.7.2 doesn't allow this to pass as older +GCCs do. + +--- pfe/configure.orig 2009-10-17 17:50:54.000000000 +0000 ++++ pfe/configure +@@ -20482,7 +20482,7 @@ opt_level="$WITHVAL_OPT" + if test "$GCC" = "yes" ; then + OPTIM="-O$opt_level" + DEBUG=" -W -Wshadow" +- LDFLAGS="$LDFLAGS -W,--warn-common" # -Wl,-S ++ LDFLAGS="$LDFLAGS -Wl,--warn-common" # -Wl,-S + # GCC_WARN="$GCC_WARN -Wtraditional" + # GCC_WARN="$GCC_WARN -Wconversion" + elif test ".$am_cv_CC_dependencies_compiler_type" = ".aix" ; then |