svn commit: r431283 - head/sysutils/scprotect

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jan 12 17:03:52 UTC 2017


Author: amdmi3
Date: Thu Jan 12 17:03:51 2017
New Revision: 431283
URL: https://svnweb.freebsd.org/changeset/ports/431283

Log:
  - Always check OPSYS along with OSVERSION
  - Fix stage-qa on 10.x

Modified:
  head/sysutils/scprotect/Makefile

Modified: head/sysutils/scprotect/Makefile
==============================================================================
--- head/sysutils/scprotect/Makefile	Thu Jan 12 16:33:12 2017	(r431282)
+++ head/sysutils/scprotect/Makefile	Thu Jan 12 17:03:51 2017	(r431283)
@@ -17,11 +17,14 @@ CFLAGS+=	-DWITH_SCPROTECT_LIST
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 1100000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
 BROKEN=		does not build on 11.x
 .endif
 
 post-extract:
 	@cd ${WRKSRC}/kmod && ${RM} machine
 
+post-install:
+	@${RM} -r ${STAGEDIR}/usr/lib/debug
+
 .include <bsd.port.post.mk>


More information about the svn-ports-all mailing list