svn commit: r492822 - head/devel/cpu_features

Steven Kreuzer skreuzer at FreeBSD.org
Wed Feb 13 02:11:18 UTC 2019


Author: skreuzer
Date: Wed Feb 13 02:11:17 2019
New Revision: 492822
URL: https://svnweb.freebsd.org/changeset/ports/492822

Log:
  Generate position independent code
  
  PR:		235590
  Submitted by:	Koichiro Iwao <meta at FreeBSD.org>

Modified:
  head/devel/cpu_features/Makefile

Modified: head/devel/cpu_features/Makefile
==============================================================================
--- head/devel/cpu_features/Makefile	Wed Feb 13 02:05:29 2019	(r492821)
+++ head/devel/cpu_features/Makefile	Wed Feb 13 02:11:17 2019	(r492822)
@@ -3,6 +3,7 @@
 PORTNAME=	cpu_features
 PORTVERSION=	0.2.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	skreuzer at FreeBSD.org
@@ -13,6 +14,8 @@ LICENSE=	APACHE20
 USES=	cmake:insource
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
+
+CFLAGS+=	-fPIC
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/list_cpu_features ${STAGEDIR}${PREFIX}/bin


More information about the svn-ports-head mailing list