svn commit: r467600 - head/graphics/graphviz
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Apr 17 13:31:00 UTC 2018
Author: amdmi3
Date: Tue Apr 17 13:30:59 2018
New Revision: 467600
URL: https://svnweb.freebsd.org/changeset/ports/467600
Log:
- Switch to USES=localbase
- Always check OPSYS along with OSVERSION
Approved by: portmgr blanket
Modified:
head/graphics/graphviz/Makefile
Modified: head/graphics/graphviz/Makefile
==============================================================================
--- head/graphics/graphviz/Makefile Tue Apr 17 11:28:50 2018 (r467599)
+++ head/graphics/graphviz/Makefile Tue Apr 17 13:30:59 2018 (r467600)
@@ -20,7 +20,8 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \
libexpat.so:textproc/expat2 \
libgd.so:${GD_PORT}
-USES= cpe pathfix shebangfix gmake bison groff pkgconfig libtool:keepla jpeg
+USES= cpe pathfix shebangfix gmake bison groff pkgconfig \
+ libtool:keepla localbase:ldflags jpeg
GNU_CONFIGURE= yes
# sincos is broken on armv6, see ports/220591
CFLAGS_armv6= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \
@@ -29,8 +30,6 @@ CFLAGS_armv6= -fno-builtin-sincos -fno-builtin-sin -fn
CFLAGS_armv7= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \
-fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf \
-fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl
-LDFLAGS+= -L${LOCALBASE}/lib
-CPPFLAGS+= -I${LOCALBASE}/include
PLIST_SUB= PORTVERSION="${PORTVERSION}"
MAKE_ENV= EXPR_COMPAT=yes
@@ -256,7 +255,7 @@ post-patch:
${REINPLACE_CMD} -e 's|GTS_LIBS)|GTS_LIBS) $$(MATH_LIBS)|' \
${WRKSRC}/cmd/smyrna/Makefile.in
${CP} ${WRKSRC}/lib/cgraph/cgraph.h ${WRKSRC}/plugin/ming/
-.if ${OSVERSION} >= 1100093
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100093
${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \
${WRKSRC}/lib/sfio/*.[ch]
.endif
More information about the svn-ports-all
mailing list