Changeset View
Changeset View
Standalone View
Standalone View
devel/babeltrace/Makefile
Show All 16 Lines | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
LIB_DEPENDS= libpopt.so:devel/popt \ | LIB_DEPENDS= libpopt.so:devel/popt \ | ||||
libuuid.so:misc/e2fsprogs-libuuid | libuuid.so:misc/e2fsprogs-libuuid | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= efficios | GH_ACCOUNT= efficios | ||||
USES= autoreconf:build bison gettext-runtime gmake libtool pkgconfig | USES= autoreconf:build bison gettext-runtime gmake libtool pathfix pkgconfig | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ARGS= --disable-debug-info | CONFIGURE_ARGS= --disable-debug-info | ||||
USE_GNOME= glib20 | USE_GNOME= glib20 | ||||
LDFLAGS+= -L${LOCALBASE}/lib | LDFLAGS+= -L${LOCALBASE}/lib | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
PORTDOCS= ChangeLog std-ext-lib.txt API.txt lttng-live.txt | PORTDOCS= ChangeLog std-ext-lib.txt API.txt lttng-live.txt | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
# FreeBSD 9.x and earlier do not have an updated flex | # FreeBSD 9.x and earlier do not have an updated flex | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 | .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 | ||||
BUILD_DEPENDS+= flex>=2.5.35:textproc/flex | BUILD_DEPENDS+= flex>=2.5.35:textproc/flex | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|LICENSE mit-license.txt gpl-2.0.txt||' \ | @${REINPLACE_CMD} -e 's|LICENSE mit-license.txt gpl-2.0.txt||' \ | ||||
${WRKSRC}/Makefile.am | |||||
@${REINPLACE_CMD} -e 's|/pkgconfig|/../libdata/pkgconfig|' \ | |||||
${WRKSRC}/Makefile.am | ${WRKSRC}/Makefile.am | ||||
@${REINPLACE_CMD} -e 's|machine\/endian|sys\/endian|' \ | @${REINPLACE_CMD} -e 's|machine\/endian|sys\/endian|' \ | ||||
${WRKSRC}/include/babeltrace/endian.h | ${WRKSRC}/include/babeltrace/endian.h | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 | .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 | ||||
@${REINPLACE_CMD} -e 's|\[FLEX\],\[flex\]|\[FLEX\],\[flex\],\[\/usr\/bin\/flex\],${LOCALBASE}/bin:${PATH}|' \ | @${REINPLACE_CMD} -e 's|\[FLEX\],\[flex\]|\[FLEX\],\[flex\],\[\/usr\/bin\/flex\],${LOCALBASE}/bin:${PATH}|' \ | ||||
${WRKSRC}/configure.ac | ${WRKSRC}/configure.ac | ||||
.endif | .endif | ||||
Show All 13 Lines |