2013-04-06 16:58:18 +02:00
|
|
|
# $NetBSD: Makefile,v 1.27 2013/04/06 14:58:21 rodent Exp $
|
2006-10-07 01:46:29 +02:00
|
|
|
#
|
|
|
|
|
2009-12-05 11:23:34 +01:00
|
|
|
DISTNAME= checkperms-1.11
|
2006-10-07 01:46:29 +02:00
|
|
|
CATEGORIES= sysutils
|
2009-11-20 11:12:18 +01:00
|
|
|
MASTER_SITES= http://www.roland-illig.de/checkperms/
|
2006-10-07 01:46:29 +02:00
|
|
|
|
2012-03-01 23:42:31 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2009-11-20 11:12:18 +01:00
|
|
|
HOMEPAGE= http://www.roland-illig.de/checkperms/
|
2006-10-07 01:46:29 +02:00
|
|
|
COMMENT= Check and correct file permissions
|
2009-05-19 10:59:00 +02:00
|
|
|
LICENSE= modified-bsd
|
2006-10-07 01:46:29 +02:00
|
|
|
|
2009-11-20 11:12:18 +01:00
|
|
|
AUTO_MKDIRS= yes
|
2007-09-22 09:53:03 +02:00
|
|
|
|
2008-02-07 14:16:50 +01:00
|
|
|
USE_BSD_MAKEFILE= yes
|
2006-10-07 01:46:29 +02:00
|
|
|
|
2013-02-21 08:58:21 +01:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
|
|
|
|
.if !empty(CC_VERSION:Mclang*)
|
|
|
|
MAKE_FLAGS+= ACTIVE_CC=clang
|
|
|
|
.endif
|
|
|
|
|
2007-03-06 00:12:39 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2007-07-03 16:04:17 +02:00
|
|
|
|
2009-12-14 22:25:14 +01:00
|
|
|
# Avoid self-referential and circular dependencies.
|
2007-07-03 16:04:17 +02:00
|
|
|
CHECK_PERMS= no
|
2009-12-14 22:25:14 +01:00
|
|
|
IGNORE_CCACHE= yes
|
|
|
|
IGNORE_DISTCC= yes
|
2007-07-03 16:04:17 +02:00
|
|
|
|
2007-03-06 00:12:39 +01:00
|
|
|
.if ${OPSYS} == "Linux"
|
|
|
|
MAKE_ENV+= NOGCCERROR=yes # see PR 35930
|
|
|
|
.endif
|
|
|
|
|
2010-04-20 18:01:38 +02:00
|
|
|
# Avoid catpage regeneration
|
|
|
|
post-extract:
|
2013-04-06 16:58:18 +02:00
|
|
|
${ECHO} ".PHONY: checkperms.cat1" >> ${WRKSRC}/Makefile
|
|
|
|
${ECHO} "checkperms.cat1:" >> ${WRKSRC}/Makefile
|
|
|
|
${ECHO} "" >> ${WRKSRC}/Makefile
|
2010-04-20 18:01:38 +02:00
|
|
|
|
2006-10-07 01:46:29 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|