Changeset View
Changeset View
Standalone View
Standalone View
multimedia/ustreamer/Makefile
Show All 20 Lines | |||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
PLIST_FILES= bin/ustreamer \ | PLIST_FILES= bin/ustreamer \ | ||||
bin/ustreamer-dump \ | bin/ustreamer-dump \ | ||||
share/man/man1/ustreamer-dump.1.gz \ | share/man/man1/ustreamer-dump.1.gz \ | ||||
share/man/man1/ustreamer.1.gz | share/man/man1/ustreamer.1.gz | ||||
.include <bsd.port.options.mk> | |||||
# strerror_l appeared in 12 in r368915 on 2021-01-01, OSVERSION was last changed to 1202505 in r368887 on 2020-12-29 | |||||
post-patch: | |||||
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} <= 1202505 | |||||
@${REINPLACE_CMD} -e 's|strerror_l(error, locale)|strerror(error)|' ${WRKSRC}/src/libs/tools.h | |||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |