diff options
author | John Marino <marino@FreeBSD.org> | 2016-12-17 21:38:07 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-12-17 21:38:07 +0000 |
commit | f0e2e06b5bef3640fcbce3c9c3a49ab61a58cae7 (patch) | |
tree | ee2a710680d3140b5cd19661c150f3b144855dda /astro | |
parent | dff38a23c38e554fe63bccefd6770104f0bca160 (diff) |
Notes
Diffstat (limited to 'astro')
-rw-r--r-- | astro/astrometry/Makefile | 1 | ||||
-rw-r--r-- | astro/astrometry/files/patch-include_astrometry_an-endian.h | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/astro/astrometry/Makefile b/astro/astrometry/Makefile index 3eebb16eeadb..180916ffe559 100644 --- a/astro/astrometry/Makefile +++ b/astro/astrometry/Makefile @@ -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,' \ diff --git a/astro/astrometry/files/patch-include_astrometry_an-endian.h b/astro/astrometry/files/patch-include_astrometry_an-endian.h new file mode 100644 index 000000000000..72ad6b4ef9ad --- /dev/null +++ b/astro/astrometry/files/patch-include_astrometry_an-endian.h @@ -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> |