aboutsummaryrefslogtreecommitdiff
path: root/sysutils/polkit/Makefile
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2015-12-31 15:34:40 +0000
committerSteve Wills <swills@FreeBSD.org>2015-12-31 15:34:40 +0000
commitcd08000dfebfb26c736eccc266cf889bf68f6370 (patch)
tree3e32f1624f8a049564f4480b0eea5c1891f5d4e6 /sysutils/polkit/Makefile
parent789e4532b2889b92161627737b91208c3cee77ab (diff)
downloadports-cd08000dfebfb26c736eccc266cf889bf68f6370.tar.gz
ports-cd08000dfebfb26c736eccc266cf889bf68f6370.zip
sysutils/polkit: fix build on arm
Approved by: maintainer (kwm)
Notes
Notes: svn path=/head/; revision=404951
Diffstat (limited to 'sysutils/polkit/Makefile')
-rw-r--r--sysutils/polkit/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index 7d4db4276b0f..bd8c6b84b60a 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -50,6 +50,12 @@ MANPAGES_USE= gnome=libxslt:build
MANPAGES_CONFIGURE_ENABLE= man-pages
OPTIONS_SUB= yes
+.include <bsd.port.pre.mk>
+
+.if (${ARCH} == "armv6" || ${ARCH} == "armv6hf")
+USE_GCC= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|g' \
${WRKSRC}/docs/man/pkexec.xml \
@@ -66,4 +72,4 @@ post-install:
${MKDIR} ${STAGEDIR}/var/lib/polkit-1/localauthority/${i}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>