Files
pkgsrc-ng/net/amule/patches/patch-aa
2013-09-26 17:14:40 +02:00

118 lines
3.5 KiB
Plaintext

$NetBSD: patch-aa,v 1.10 2013/06/15 02:34:19 ryoon Exp $
* pthread flags portabilities
* avoid check for gettext>=0.11.5
* fixes to install all supported L10N man pages
--- configure.orig 2011-11-11 20:59:26.000000000 +0000
+++ configure
@@ -3364,7 +3364,8 @@ case $host_os in *\ *) host_os=`echo "$h
$as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
if test x"`uname -s`" = xFreeBSD && test 0`uname -r | cut -c 1` -lt 5; then :
- MULELDFLAGS="$MULELDFLAGS -pthread"
+ MULELDFLAGS="$MULELDFLAGS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+ MULECFLAGS="$MULECFLAGS ${PTHREAD_CFLAGS}"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
@@ -13760,7 +13761,7 @@ $as_echo "#define HAVE_DCGETTEXT 1" >>co
INCINTL=-I\${top_builddir}/intl
fi
- if test x$USE_NLS = xyes; then :
+ if test xno = xyes; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
$as_echo_n "checking for autopoint... " >&6; }
@@ -13800,7 +13801,7 @@ $as_echo_n "checking for requested langu
if test ${enable_amule_daemon:-no} = yes; then :
- if test -z "$LINGUAS"; then :
+ if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
AMULE_DAEMON_MANPAGES=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
else
@@ -13818,7 +13819,7 @@ fi
if test ${enable_amulecmd:-no} = yes; then :
- if test -z "$LINGUAS"; then :
+ if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
AMULECMD_MANPAGES=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
else
@@ -13836,7 +13837,7 @@ fi
if test ${enable_webserver:-no} = yes; then :
- if test -z "$LINGUAS"; then :
+ if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
WEBSERVER_MANPAGES=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
else
@@ -13854,7 +13855,7 @@ fi
if test ${enable_amule_gui:-no} = yes; then :
- if test -z "$LINGUAS"; then :
+ if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
AMULE_GUI_MANPAGES=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
else
@@ -13872,7 +13873,7 @@ fi
if test ${enable_cas:-no} = yes; then :
- if test -z "$LINGUAS"; then :
+ if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
CAS_MANPAGES=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
else
@@ -13890,7 +13891,7 @@ fi
if test ${enable_wxcas:-no} = yes; then :
- if test -z "$LINGUAS"; then :
+ if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
WXCAS_MANPAGES=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
else
@@ -13908,7 +13909,7 @@ fi
if test ${enable_ed2k:-yes} = yes; then :
- if test -z "$LINGUAS"; then :
+ if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
ED2K_MANPAGES=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
else
@@ -13926,7 +13927,7 @@ fi
if test ${enable_alc:-no} = yes; then :
- if test -z "$LINGUAS"; then :
+ if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
ALC_MANPAGES=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
else
@@ -13944,7 +13945,7 @@ fi
if test ${enable_alcc:-no} = yes; then :
- if test -z "$LINGUAS"; then :
+ if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
ALCC_MANPAGES=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
else
@@ -13962,7 +13963,7 @@ fi
if test ${enable_monolithic:-yes} = yes; then :
- if test -z "$LINGUAS"; then :
+ if test -z "$LINGUAS" -o "$LINGUAS" = "%UNSET%"; then
MONOLITHIC_MANPAGES=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
else