svn commit: r361073 - in head/textproc/libtranslate: . files
John Marino
marino at FreeBSD.org
Mon Jul 7 12:46:48 UTC 2014
Author: marino
Date: Mon Jul 7 12:46:47 2014
New Revision: 361073
URL: http://svnweb.freebsd.org/changeset/ports/361073
QAT: https://qat.redports.org/buildarchive/r361073/
Log:
textproc/libtranslate: Bring in DragonFly support patch from dports
Added:
head/textproc/libtranslate/files/patch-configure (contents, props changed)
Modified:
head/textproc/libtranslate/Makefile
Modified: head/textproc/libtranslate/Makefile
==============================================================================
--- head/textproc/libtranslate/Makefile Mon Jul 7 12:43:39 2014 (r361072)
+++ head/textproc/libtranslate/Makefile Mon Jul 7 12:46:47 2014 (r361073)
@@ -15,7 +15,7 @@ PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCH_DIST_STRIP= -p1
MAINTAINER= ports at FreeBSD.org
-COMMENT= A natural language translation library
+COMMENT= Natural language translation library
USES= gmake pathfix pkgconfig
USE_GNOME= glib20 intlhack
Added: head/textproc/libtranslate/files/patch-configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libtranslate/files/patch-configure Mon Jul 7 12:46:47 2014 (r361073)
@@ -0,0 +1,101 @@
+--- configure.orig 2014-06-20 22:12:16.401089000 +0000
++++ configure
+@@ -3608,7 +3608,7 @@ darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+-freebsd* | kfreebsd*-gnu)
++dragonfly* | freebsd* | kfreebsd*-gnu)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+@@ -5545,7 +5545,7 @@ else
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+- netbsd* | freebsd* | openbsd* | darwin* )
++ netbsd* | dragonfly* | freebsd* | openbsd* | darwin* )
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+@@ -7324,7 +7324,7 @@ if test -z "$aix_libpath"; then aix_libp
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd* | kfreebsd*-gnu)
++ dragonfly* | freebsd* | kfreebsd*-gnu)
+ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+@@ -7903,7 +7903,7 @@ kfreebsd*-gnu)
+ dynamic_linker='GNU ld.so'
+ ;;
+
+-freebsd*)
++dragonfly* | freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+@@ -10260,7 +10260,7 @@ if test -z "$aix_libpath"; then aix_libp
+ freebsd-elf*)
+ archive_cmds_need_lc_CXX=no
+ ;;
+- freebsd* | kfreebsd*-gnu)
++ dragonfly* | freebsd* | kfreebsd*-gnu)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs_CXX=yes
+@@ -11004,7 +11004,7 @@ echo $ECHO_N "checking for $compiler opt
+ ;;
+ esac
+ ;;
+- freebsd* | kfreebsd*-gnu)
++ dragonfly* | freebsd* | kfreebsd*-gnu)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+@@ -11615,7 +11615,7 @@ kfreebsd*-gnu)
+ dynamic_linker='GNU ld.so'
+ ;;
+
+-freebsd*)
++dragonfly* | freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+@@ -14196,7 +14196,7 @@ if test -z "$aix_libpath"; then aix_libp
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd* | kfreebsd*-gnu)
++ dragonfly* | freebsd* | kfreebsd*-gnu)
+ archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec_F77='-R$libdir'
+ hardcode_direct_F77=yes
+@@ -14775,7 +14775,7 @@ kfreebsd*-gnu)
+ dynamic_linker='GNU ld.so'
+ ;;
+
+-freebsd*)
++dragonfly* | freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+@@ -16554,7 +16554,7 @@ if test -z "$aix_libpath"; then aix_libp
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd* | kfreebsd*-gnu)
++ dragonfly* | freebsd* | kfreebsd*-gnu)
+ archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
+ hardcode_direct_GCJ=yes
+@@ -17133,7 +17133,7 @@ kfreebsd*-gnu)
+ dynamic_linker='GNU ld.so'
+ ;;
+
+-freebsd*)
++dragonfly* | freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
More information about the svn-ports-head
mailing list