Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2016 21:38:08 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428804 - in head/astro/astrometry: . files
Message-ID:  <201612172138.uBHLc8Hu094095@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Dec 17 21:38:07 2016
New Revision: 428804
URL: https://svnweb.freebsd.org/changeset/ports/428804

Log:
  astro/astronomy: Fix DF build

Added:
  head/astro/astrometry/files/patch-include_astrometry_an-endian.h   (contents, props changed)
Modified:
  head/astro/astrometry/Makefile

Modified: head/astro/astrometry/Makefile
==============================================================================
--- head/astro/astrometry/Makefile	Sat Dec 17 21:10:31 2016	(r428803)
+++ head/astro/astrometry/Makefile	Sat Dec 17 21:38:07 2016	(r428804)
@@ -25,6 +25,7 @@ ALL_TARGET=	all extra
 MAKE_ENV=	INSTALL_DIR=${STAGEDIR}${PREFIX}/${PORTNAME}
 MAKE_JOBS_UNSAFE=	yes
 SUB_FILES=	pkg-message
+LDFLAGS=	-lz
 
 post-patch:
 	@${REINPLACE_CMD} -E 's,python (setup|-c),${PYTHON_CMD} \1,' \

Added: head/astro/astrometry/files/patch-include_astrometry_an-endian.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/astrometry/files/patch-include_astrometry_an-endian.h	Sat Dec 17 21:38:07 2016	(r428804)
@@ -0,0 +1,11 @@
+--- include/astrometry/an-endian.h.orig	2015-12-12 19:02:27 UTC
++++ include/astrometry/an-endian.h
+@@ -11,7 +11,7 @@
+ // (actually 10.5 does)
+ #if __APPLE__
+ # include <sys/types.h>
+-#elif __FreeBSD__
++#elif defined(__FreeBSD__) || defined(__DragonFly__)
+ # include <sys/endian.h>
+ #elif __sun
+ # include <sys/isa_defs.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612172138.uBHLc8Hu094095>