svn commit: r428804 - in head/astro/astrometry: . files

John Marino marino at FreeBSD.org
Sat Dec 17 21:38:09 UTC 2016


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>


More information about the svn-ports-all mailing list