summaryrefslogtreecommitdiff
path: root/lang/librep/patches/patch-aa
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-04-16 18:08:32 +0000
committertnn <tnn@pkgsrc.org>2009-04-16 18:08:32 +0000
commita326a154be18a96de3ee94d49ec7a2e795c1adb7 (patch)
treed5246919b3097eda98c490db55e039130e0318e2 /lang/librep/patches/patch-aa
parente89c5c01b9dcdbe00b4a84f302c71defc6c71b11 (diff)
downloadpkgsrc-a326a154be18a96de3ee94d49ec7a2e795c1adb7.tar.gz
Update to librep-0.17.3.
0.17.3 ====== * Updated MAINTAINERS * Dropped rep.m4 - use librep.pc instead * Improved librep.pc * Updated librep.spec * Add -L/lib$libsuff to READLINE_LIBS [T2 Patch] * Fix compilation on PPC64 [Marcus Comstedt] * Small fixup in src/fake-libexec [SuSE] * No rpath in src/rep-config.sh [Fedora] * Added ebuild [Harald van Dijk] * Improved Makefile's distclean rule * Reworked autogen.sh * Reworked configure.in * Major rework of the spec-file * Improved configure's ending message * Fixed configure.in's templates for autoheader * BSD-Tar is not supported by librep, give users a usefull warning message [Mark Diekhans] 0.17.2 ====== * fixups for configure.in * updated BUGS, HACKING and README * define inline if undefined (fixes compiler warnings) * create the destination directory for the .pc file before installing it * fixed in issue with FreeBSD in numbers.c [FreeBSD patch] * improved a function of numbers.c [FreeBSD patch] * rep_file_fdopen has not been listed in librep.sym * added -tag=CC to libtool in several places * don't ignore $LDFLAGS upon build * dropped some useless code in sdbm.c * make sure inline is defined 0.17.1 ====== * started code-cleanup * added a .pc file * added -no-split to makeinfo [FreeBSD patch] * added -enable-paranoia to configure [compile with CFLAGS+="-Wall -ansi"] * updated the spec file * replaced a static void by a void in main.c [Debian patch] * use correct shebang in rep-xgettext.jl [ALT-Linux patch] * trim trailing / to mkdir(2) [NetBSD patch]
Diffstat (limited to 'lang/librep/patches/patch-aa')
-rw-r--r--lang/librep/patches/patch-aa122
1 files changed, 23 insertions, 99 deletions
diff --git a/lang/librep/patches/patch-aa b/lang/librep/patches/patch-aa
index 70f5936f925..dd9bbfa058b 100644
--- a/lang/librep/patches/patch-aa
+++ b/lang/librep/patches/patch-aa
@@ -1,101 +1,25 @@
-$NetBSD: patch-aa,v 1.9 2005/12/11 23:12:11 joerg Exp $
+$NetBSD: patch-aa,v 1.10 2009/04/16 18:08:32 tnn Exp $
---- configure.orig 2005-12-11 22:49:43.000000000 +0000
+--- configure.orig 2009-04-16 19:45:18.000000000 +0200
+++ configure
-@@ -3311,13 +3311,13 @@ darwin* | rhapsody*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
--freebsd* | kfreebsd*-gnu)
-+freebsd* | kfreebsd*-gnu | dragonfly*)
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case $host_cpu in
- i*86 )
- # Not sure whether the presence of OpenBSD here was a mistake.
- # Let's accept both of them until this is cleared up.
-- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
-+ lt_cv_deplibs_check_method='file_magic (DragonFly|FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
-@@ -6562,7 +6562,7 @@ if test -z "$aix_libpath"; then aix_libp
- ;;
-
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-- freebsd* | kfreebsd*-gnu)
-+ freebsd* | kfreebsd*-gnu | dragonfly*)
- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
- hardcode_libdir_flag_spec='-R$libdir'
- hardcode_direct=yes
-@@ -7140,7 +7140,7 @@ kfreebsd*-gnu)
- dynamic_linker='GNU ld.so'
- ;;
-
--freebsd*)
-+freebsd* | dragonfly*)
- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- version_type=freebsd-$objformat
- case $version_type in
-@@ -9392,7 +9392,7 @@ if test -z "$aix_libpath"; then aix_libp
- freebsd-elf*)
- archive_cmds_need_lc_CXX=no
- ;;
-- freebsd* | kfreebsd*-gnu)
-+ freebsd* | kfreebsd*-gnu | dragonfly*)
- # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
- # conventions
- ld_shlibs_CXX=yes
-@@ -10099,7 +10099,7 @@ echo $ECHO_N "checking for $compiler opt
- ;;
- esac
- ;;
-- freebsd* | kfreebsd*-gnu)
-+ freebsd* | kfreebsd*-gnu | dragonfly*)
- # FreeBSD uses GNU C++
- ;;
- hpux9* | hpux10* | hpux11*)
-@@ -10717,7 +10717,7 @@ kfreebsd*-gnu)
- dynamic_linker='GNU ld.so'
- ;;
-
--freebsd*)
-+freebsd* | dragonfly*)
- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- version_type=freebsd-$objformat
- case $version_type in
-@@ -13165,7 +13165,7 @@ if test -z "$aix_libpath"; then aix_libp
- ;;
-
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-- freebsd* | kfreebsd*-gnu)
-+ freebsd* | kfreebsd*-gnu | dragonfly*)
- archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
- hardcode_libdir_flag_spec_F77='-R$libdir'
- hardcode_direct_F77=yes
-@@ -13743,7 +13743,7 @@ kfreebsd*-gnu)
- dynamic_linker='GNU ld.so'
- ;;
-
--freebsd*)
-+freebsd* | dragonfly*)
- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- version_type=freebsd-$objformat
- case $version_type in
-@@ -15477,7 +15477,7 @@ if test -z "$aix_libpath"; then aix_libp
- ;;
-
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-- freebsd* | kfreebsd*-gnu)
-+ freebsd* | kfreebsd*-gnu | dragonfly*)
- archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
- hardcode_libdir_flag_spec_GCJ='-R$libdir'
- hardcode_direct_GCJ=yes
-@@ -16055,7 +16055,7 @@ kfreebsd*-gnu)
- dynamic_linker='GNU ld.so'
- ;;
-
--freebsd*)
-+freebsd* | dragonfly*)
- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- version_type=freebsd-$objformat
- case $version_type in
+@@ -21553,17 +21553,17 @@ fi
+
+ mv librep.ebuild librep-$version.ebuild
+
+-if test "$with_gmp" != "no" && test "$found_gmp" == "yes" ; then
++if test "$with_gmp" != "no" && test "$found_gmp" = "yes" ; then
+ with_gmp=yes
+ else with_gmp=no
+ fi
+
+-if test "$with_readline" != "no" && test "$found_readline" == "yes"; then
++if test "$with_readline" != "no" && test "$found_readline" = "yes"; then
+ with_readline=yes
+ else with_readline=no
+ fi
+
+-if test "$with_libffi" != "no" && test "$found_ffi" == "yes"; then
++if test "$with_libffi" != "no" && test "$found_ffi" = "yes"; then
+ with_ffi=yes
+ else with_ffi=no
+ fi