svn commit: r404951 - head/sysutils/polkit

Steve Wills swills at FreeBSD.org
Thu Dec 31 15:34:41 UTC 2015


Author: swills
Date: Thu Dec 31 15:34:40 2015
New Revision: 404951
URL: https://svnweb.freebsd.org/changeset/ports/404951

Log:
  sysutils/polkit: fix build on arm
  
  Approved by:	maintainer (kwm)

Modified:
  head/sysutils/polkit/Makefile

Modified: head/sysutils/polkit/Makefile
==============================================================================
--- head/sysutils/polkit/Makefile	Thu Dec 31 15:29:22 2015	(r404950)
+++ head/sysutils/polkit/Makefile	Thu Dec 31 15:34:40 2015	(r404951)
@@ -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>


More information about the svn-ports-head mailing list