mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
cf118ccf87
Reported by: lwhsu
28 lines
590 B
Makefile
28 lines
590 B
Makefile
PORTNAME= libpru
|
|
DISTVERSION= 0.4
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= jmg@FreeBSD.org
|
|
# The maintainer says, if you're actively using this you are free to
|
|
# take this port.
|
|
COMMENT= Library to interface with PRUs
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rpaulo
|
|
GH_TAGNAME= v0.4
|
|
|
|
IGNORE_DragonFly= only supported on FreeBSD
|
|
USES= cmake compiler
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's/ -Weverything//' ${WRKSRC}/CMakeLists.txt
|
|
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
|
${REINPLACE_CMD} -e 's/ -Werror//' ${WRKSRC}/CMakeLists.txt
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|