Index: head/astro/astrometry/Makefile =================================================================== --- head/astro/astrometry/Makefile (revision 428803) +++ head/astro/astrometry/Makefile (revision 428804) @@ -1,45 +1,46 @@ # Created by: Sébastien Santoro # $FreeBSD$ PORTNAME= astrometry PORTVERSION= 0.65 CATEGORIES= astro MASTER_SITES= http://www.astrometry.net/downloads/ DISTNAME= ${PORTNAME}.net-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Software for describing astronomical images LICENSE= GPLv2 BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libcairo.so:graphics/cairo \ libcfitsio.so:astro/cfitsio \ libpng.so:graphics/png \ libnetpbm.so:graphics/netpbm RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gmake jpeg pkgconfig python tar:bzip2 USE_LDCONFIG= ${PREFIX}/${PORTNAME}/lib 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,' \ ${WRKSRC}/blind/Makefile ${WRKSRC}/libkd/Makefile \ ${WRKSRC}/sdss/Makefile ${WRKSRC}/util/Makefile # Outwit detection logic that thinks Clang does not support -shared argument @${REINPLACE_CMD} -e '/CCTEST/s,\\|warning:,,' \ ${WRKSRC}/util/makefile.common post-install: @${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||' \ ${STAGEDIR}${PREFIX}/${PORTNAME}/etc/${PORTNAME}.cfg @${FIND} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin \ -type f -not -name "*.py" -exec ${STRIP_CMD} {} \; @${FIND} ${STAGEDIR}${PREFIX}/${PORTNAME}/lib \ -type f -name "*.so" -exec ${STRIP_CMD} {} \; .include Index: head/astro/astrometry/files/patch-include_astrometry_an-endian.h =================================================================== --- head/astro/astrometry/files/patch-include_astrometry_an-endian.h (nonexistent) +++ head/astro/astrometry/files/patch-include_astrometry_an-endian.h (revision 428804) @@ -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 +-#elif __FreeBSD__ ++#elif defined(__FreeBSD__) || defined(__DragonFly__) + # include + #elif __sun + # include Property changes on: head/astro/astrometry/files/patch-include_astrometry_an-endian.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property