Date: Wed, 15 Jan 2014 20:15:14 -0500 (EST) From: Nikolai Lifanov <lifanov@mail.lifanov.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/185815: [patch] net-im/prosody : fix on 10.0+ Message-ID: <20140116011514.CD02E1A7EBC@mail.lifanov.com> Resent-Message-ID: <201401160120.s0G1K0ba038381@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185815 >Category: ports >Synopsis: [patch] net-im/prosody : fix on 10.0+ >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 16 01:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Nikolai Lifanov >Release: FreeBSD 9.2-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD mail.lifanov.com 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Prosody configure script hardcodes and leaves CC=gcc. This breaks build on FreeBSD 10.0+ on default, where gcc is removed. Please apply this patch. It fixes the build by setting CC=cc, which according to Redports doesn't break the build on any supported release, but fixes the build on 10.0+. >How-To-Repeat: See the attached patch. >Fix: --- patch.txt begins here --- --- net-im/prosody/files/patch-configure (revision 339798) +++ net-im/prosody/files/patch-configure (working copy) @@ -1,5 +1,5 @@ ---- ./configure.orig 2011-04-05 15:47:05.000000000 +0200 -+++ ./configure 2011-04-10 18:09:24.000000000 +0200 +--- configure.orig 2011-06-12 17:21:39.000000000 -0400 ++++ configure 2014-01-15 19:50:30.923408762 -0500 @@ -2,7 +2,6 @@ # Defaults @@ -8,3 +8,12 @@ SYSCONFDIR="$PREFIX/etc/prosody" DATADIR="$PREFIX/var/lib/prosody" LUA_SUFFIX="" +@@ -121,6 +120,8 @@ + LUA_SUFFIX_SET=yes + LUA_DIR=/usr/local + LUA_DIR_SET=yes ++ CC=cc ++ LD=cc + fi + ;; + --datadir=*) --- patch.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140116011514.CD02E1A7EBC>