Index: head/math/libproj4/Makefile =================================================================== --- head/math/libproj4/Makefile (revision 371017) +++ head/math/libproj4/Makefile (revision 371018) @@ -1,41 +1,46 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= libproj4 DISTVERSION= 3_20081120 CATEGORIES= math geography MASTER_SITES= http://home.comcast.net/~gevenden56/proj/ DISTFILES= ${PORTNAME}.${DISTVERSION}${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} MAINTAINER= thierry@FreeBSD.org COMMENT= C language procedures related to cartographic processes LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl USES= gmake tar:bzip2 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ALL_TARGET= libproj4 lproj MAKE_JOBS_UNSAFE=yes USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME} -.include +.include .if ${PORT_OPTIONS:MDOCS} DISTFILES+= manual.pdf EXTRACT_ONLY= ${PORTNAME}.${DISTVERSION}${EXTRACT_SUFX} .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000034 +LIB_DEPENDS+= libmissing.so:${PORTSDIR}/math/libmissing +LDFLAGS+= -lmissing +.endif + pre-configure: ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/${MAKEFILE} post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${_DISTDIR}/manual.pdf ${STAGEDIR}${DOCSDIR} .endif -.include +.include Index: head/math/libproj4/files/patch-proj_ftmerc.c =================================================================== --- head/math/libproj4/files/patch-proj_ftmerc.c (nonexistent) +++ head/math/libproj4/files/patch-proj_ftmerc.c (revision 371018) @@ -0,0 +1,13 @@ +--- ./proj_ftmerc.c.orig 2008-11-20 18:40:28.000000000 +0100 ++++ ./proj_ftmerc.c 2014-10-16 21:31:30.000000000 +0200 +@@ -31,6 +31,10 @@ + #define PROJ_LIB__ + #include + #include ++#include ++#if defined(__FreeBSD__) && (__FreeBSD_version < 1000034) ++# include ++#endif + PROJ_HEAD(ftmerc, "French Transverse Mercator") "\n\tCyl, Ell"; + + /* forward series constants */ Property changes on: head/math/libproj4/files/patch-proj_ftmerc.c ___________________________________________________________________ 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