diff options
author | antoine <antoine@FreeBSD.org> | 2014-09-27 04:47:35 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-09-27 04:47:35 +0800 |
commit | fd650364aa0089a29a13cf9feec241328ee40be3 (patch) | |
tree | 6fb75940c26ee222ab72fa008257dfe1d4b75f40 | |
parent | d680d73b7524300701eb12f5a0ed3588b2185561 (diff) | |
download | freebsd-ports-gnome-fd650364aa0089a29a13cf9feec241328ee40be3.tar.gz freebsd-ports-gnome-fd650364aa0089a29a13cf9feec241328ee40be3.tar.zst freebsd-ports-gnome-fd650364aa0089a29a13cf9feec241328ee40be3.zip |
Fix stage violation (and allow staging as regular user)
-rw-r--r-- | security/racoon2/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile index 683208e14163..1ba3a1ba215b 100644 --- a/security/racoon2/Makefile +++ b/security/racoon2/Makefile @@ -62,6 +62,7 @@ post-patch: post-configure: @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} -e '/INSTALL/s|\$$([a-z].*dir)|${STAGEDIR}&|' + @${REINPLACE_CMD} -e '/INSTALL/s|\$$(prefix)|${STAGEDIR}&|' ${WRKSRC}/pskgen/Makefile @${REINPLACE_CMD} -e '1s|/usr/bin/perl|${PERL}|' ${WRKSRC}/pskgen/pskgen @${REINPLACE_CMD} -e '/^prefix=/s|/usr/local|${STAGEDIR}${PREFIX}|;/\/var\/run\/racoon2/d' ${WRKSRC}/samples/Makefile |