aboutsummaryrefslogtreecommitdiff
path: root/devel/babeltrace/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-05 11:00:49 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-05 11:00:49 +0000
commit9c8a649e64872ba3ce9c147de9c6563e7ea759de (patch)
treeddff58c3454f1e52edefc64841d48182b8a7ecac /devel/babeltrace/Makefile
parent38dd63e03e265a53b5504e92509db95db2f7d85c (diff)
downloadports-9c8a649e64872ba3ce9c147de9c6563e7ea759de.tar.gz
ports-9c8a649e64872ba3ce9c147de9c6563e7ea759de.zip
Notes
Diffstat (limited to 'devel/babeltrace/Makefile')
-rw-r--r--devel/babeltrace/Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/devel/babeltrace/Makefile b/devel/babeltrace/Makefile
index d92eaadb9bcf..15bbdad9121a 100644
--- a/devel/babeltrace/Makefile
+++ b/devel/babeltrace/Makefile
@@ -31,33 +31,16 @@ USE_LDCONFIG= yes
PORTDOCS= ChangeLog std-ext-lib.txt API.txt lttng-live.txt
-.include <bsd.port.pre.mk>
-
-# FreeBSD 9.x and earlier do not have an updated flex
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
-BUILD_DEPENDS+= flex>=2.5.35:textproc/flex
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|LICENSE mit-license.txt gpl-2.0.txt||' \
${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e 's|machine\/endian|sys\/endian|' \
${WRKSRC}/include/babeltrace/endian.h
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
- @${REINPLACE_CMD} -e 's|\[FLEX\],\[flex\]|\[FLEX\],\[flex\],\[\/usr\/bin\/flex\],${LOCALBASE}/bin:${PATH}|' \
- ${WRKSRC}/configure.ac
-.endif
pre-configure:
(cd ${WRKSRC}; ./bootstrap )
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
-pre-build:
- @${REINPLACE_CMD} -e 's|(LEX)|(FLEX)|' \
- ${WRKSRC}/formats/ctf/metadata/Makefile
-.endif
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbabeltrace*so.1.0.0
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>