Skip to content

Commit

Permalink
security/monkeysphere: Unbreak on HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
5u623l20 committed May 14, 2023
1 parent b6d3e2d commit 33cc8a5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion security/monkeysphere/Makefile
Expand Up @@ -34,6 +34,12 @@ MAKE_ARGS+= ETCPREFIX=${PREFIX} MANPREFIX=${PREFIX}/man ETCSUFFIX=.sample

OPTIONS_DEFINE= DOCS

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
CFLAGS+= -Wno-error=strict-prototypes
.endif

post-patch:
@${REINPLACE_CMD} -i '' 's|/etc/monkeysphere|${PREFIX}/etc/monkeysphere|g' \
${WRKSRC}/etc/*.conf ${WRKSRC}/examples/* \
Expand All @@ -60,4 +66,4 @@ post-patch:
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/agent-transfer

.include <bsd.port.mk>
.include <bsd.port.post.mk>

0 comments on commit 33cc8a5

Please sign in to comment.