summaryrefslogtreecommitdiff
path: root/sysutils/bsign/Makefile
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-01 16:21:12 +0000
committerhans <hans@pkgsrc.org>2012-03-01 16:21:12 +0000
commit7a06c772e9b07ef3805383db73460f6fb4c4b93b (patch)
tree6fe7cab351de89ac950d8bd6bf9be29236570435 /sysutils/bsign/Makefile
parent786faee166a17d1d79be8b7105308f6813460e74 (diff)
downloadpkgsrc-7a06c772e9b07ef3805383db73460f6fb4c4b93b.tar.gz
Fix build on SunOS.
- uses fts functions - no static linking - define MAP_FILE - make sure pkgsrc-provided CFLAGS and CPPFLAGS are used
Diffstat (limited to 'sysutils/bsign/Makefile')
-rw-r--r--sysutils/bsign/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/bsign/Makefile b/sysutils/bsign/Makefile
index c6db0c229b8..b0d15ca1fd7 100644
--- a/sysutils/bsign/Makefile
+++ b/sysutils/bsign/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2010/01/27 18:36:54 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2012/03/01 16:21:12 hans Exp $
DISTNAME= bsign_0.4.5
PKGNAME= bsign-0.4.5
@@ -19,5 +19,13 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
USE_LANGUAGES+= c c++
USE_TOOLS+= gmake
+USE_FEATURES+= fts_open
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-static
+.endif
+
+CFLAGS.SunOS+= -DMAP_FILE=0
.include "../../mk/bsd.pkg.mk"