ports/183551: astro/ephem: make port working with freebsd 10
Slaven Rezic
slaven at rezic.de
Fri Nov 1 13:50:03 UTC 2013
>Number: 183551
>Category: ports
>Synopsis: astro/ephem: make port working with freebsd 10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 01 13:50:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Slaven Rezic
>Release: FreeBSD 9.2-RELEASE amd64
>Organization:
www.rezic.de
>Environment:
System: FreeBSD cvrsnica.herceg.de 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
astro/ephem does not compile with clang. The code has many
places with a "return;" in non-void functions, which is an
error in clang. Easiest fix here is to let the port compile
with gcc.
>How-To-Repeat:
See http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-10-31_23h19m03s/logs/ephem-4.28.log
>Fix:
diff --git a/Makefile b/Makefile
index b16bcbc..e47b313 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,8 @@ ALL_TARGET=
CFLAGS+= -Wno-implicit
+USE_GCC= any
+
do-install:
-cd ${WRKSRC}; \
${INSTALL_PROGRAM} ephem ${PREFIX}/bin; \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list