diff options
Diffstat (limited to 'net-irc/epic5/files/epic5-1.1.10-without-localdir.patch')
-rw-r--r-- | net-irc/epic5/files/epic5-1.1.10-without-localdir.patch | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/net-irc/epic5/files/epic5-1.1.10-without-localdir.patch b/net-irc/epic5/files/epic5-1.1.10-without-localdir.patch new file mode 100644 index 00000000000..4caccad764a --- /dev/null +++ b/net-irc/epic5/files/epic5-1.1.10-without-localdir.patch @@ -0,0 +1,66 @@ +From: Nathan Phillip Brink <binki@gentoo.org> +Subject: Drop some automatic probing of /usr/local and /opt and etc., Gentoo users know to use CPPFLAGS/CFLAGS/LDFLAGS. +Date: 2014-08-30 + +--- a/configure.in ++++ b/configure.in +@@ -33,58 +33,6 @@ + AC_AIX + + dnl ---------------------------------------------------------- +-AC_MSG_CHECKING([for an extra library directory]) +-AC_ARG_WITH([localdir], +-[ --with-localdir=/usr/local An extra directory to look for stuff.],[ +- if test "x$withval" = "x" ; then +- if test -d /usr/local/lib ; then +- withval="/usr/local" +- elif test -d /usr/pkg/lib ; then +- withval="/usr/pkg" +- elif test -d /opt/lib ; then +- withval="/opt" +- else +- with_extra_libdir="no" +- fi +- elif test -d "$withval" ; then +- with_extra_libdir="yes" +- else +- with_extra_libdir="no" +- fi +- +- if test "x$withval" != "x" ; then +- LIBS="-L$withval/lib $LIBS" +- CFLAGS="-I$withval/include/ $CFLAGS" +- localdir=$withdir +- with_extra_libdir="yes" +- else +- with_extra_libdir="no" +- fi +-],[ +- if test "x$withval" = "x" ; then +- if test -d /usr/local/lib ; then +- withval="/usr/local" +- elif test -d /usr/pkg/lib ; then +- withval="/usr/pkg" +- elif test -d /opt/lib ; then +- withval="/opt" +- else +- with_extra_libdir="no" +- fi +- fi +- +- if test "x$withval" != "x" ; then +- LIBS="-L$withval/lib $LIBS" +- CFLAGS="-I$withval/include/ $CFLAGS" +- localdir=$withdir +- with_extra_libdir="yes" +- else +- with_extra_libdir="no" +- fi +-]) +-AC_MSG_RESULT([$with_extra_libdir, $withval]) +- +-dnl ---------------------------------------------------------- + dnl ---------------------------------------------------------- + dnl + dnl System specific checks + |