diff options
author | hans <hans> | 2012-03-01 16:21:12 +0000 |
---|---|---|
committer | hans <hans> | 2012-03-01 16:21:12 +0000 |
commit | e5505cbc019741d12965d9e80a306df84645e277 (patch) | |
tree | 6fe7cab351de89ac950d8bd6bf9be29236570435 /sysutils | |
parent | 97eedcf72440e20ba6815dfd78ed4a076ebbd31a (diff) | |
download | pkgsrc-e5505cbc019741d12965d9e80a306df84645e277.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')
-rw-r--r-- | sysutils/bsign/Makefile | 10 | ||||
-rw-r--r-- | sysutils/bsign/distinfo | 4 | ||||
-rw-r--r-- | sysutils/bsign/patches/patch-aa | 14 |
3 files changed, 23 insertions, 5 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" diff --git a/sysutils/bsign/distinfo b/sysutils/bsign/distinfo index e42fea66eac..70ed6fca1bf 100644 --- a/sysutils/bsign/distinfo +++ b/sysutils/bsign/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2010/01/27 18:36:54 joerg Exp $ +$NetBSD: distinfo,v 1.3 2012/03/01 16:21:12 hans Exp $ SHA1 (bsign_0.4.5.tar.gz) = f24acc5ec3fc9653ee06a8314da2e8dde8992ebb RMD160 (bsign_0.4.5.tar.gz) = 0e57631ee5713088a9209b6d7287765224751453 Size (bsign_0.4.5.tar.gz) = 77471 bytes -SHA1 (patch-aa) = ed72ee5a5015779cdfcef0eebe13826e145971cb +SHA1 (patch-aa) = 5bc4ac6aa306dff227baa988caabec32e5aec21e diff --git a/sysutils/bsign/patches/patch-aa b/sysutils/bsign/patches/patch-aa index 6cea137823e..bfee77528b1 100644 --- a/sysutils/bsign/patches/patch-aa +++ b/sysutils/bsign/patches/patch-aa @@ -1,8 +1,18 @@ -$NetBSD: patch-aa,v 1.2 2010/01/27 18:36:54 joerg Exp $ +$NetBSD: patch-aa,v 1.3 2012/03/01 16:21:12 hans Exp $ --- Makefile.in 2007/01/17 23:05:04 1.1 +++ Makefile.in 2007/01/17 23:10:33 -@@ -196,7 +196,7 @@ +@@ -51,7 +51,8 @@ RELEASE_PATH=${HOME}/release + + CC=@CC@ + CXX=@CXX@ +-CFLAGS=@CFLAGS@ @DEFS@ ++CFLAGS+=@CPPFLAGS@ @CFLAGS@ @DEFS@ ++CFLAGS_I=$(CFLAGS) + #CFLAGS_O=-O2 + #CFLAGS_O=-O2 -fomit-frame-pointer + #CFLAGS_P=$(CFLAGS) -pg +@@ -196,7 +197,7 @@ debclean: distclean .version_patch` > .version _version.h: .version |