diff options
author | dholland <dholland@pkgsrc.org> | 2013-04-28 03:38:25 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2013-04-28 03:38:25 +0000 |
commit | 205a974fe66e7857e4b5fcbd2403e0c6e9c6c5e5 (patch) | |
tree | ae4790e01fc07dab2d667a9ec3738c61b2e0dc6f /lang/p2c | |
parent | 54bc6378bb8439d3e90c24be53e03ee526bf439e (diff) | |
download | pkgsrc-205a974fe66e7857e4b5fcbd2403e0c6e9c6c5e5.tar.gz |
Honor PKGMANDIR, and fix race condition in makefile.
Diffstat (limited to 'lang/p2c')
-rw-r--r-- | lang/p2c/distinfo | 4 | ||||
-rw-r--r-- | lang/p2c/patches/patch-aa | 15 |
2 files changed, 15 insertions, 4 deletions
diff --git a/lang/p2c/distinfo b/lang/p2c/distinfo index 639c1d74e30..8ce90de6287 100644 --- a/lang/p2c/distinfo +++ b/lang/p2c/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.5 2011/12/18 16:54:08 dholland Exp $ +$NetBSD: distinfo,v 1.6 2013/04/28 03:38:25 dholland Exp $ SHA1 (p2c-1.20.tar.Z) = 797c5394d50567d5195548d3919c5a66ab90f680 RMD160 (p2c-1.20.tar.Z) = 9917ef3f501b1506f2992d572f439398862fba4c Size (p2c-1.20.tar.Z) = 579294 bytes -SHA1 (patch-aa) = 0da0ac982bfc799dae3d291a66abb50239ffa9da +SHA1 (patch-aa) = 86c1edd87984b0bac7ed422f3437ac9c555075e4 SHA1 (patch-ab) = ceeda201cff0dfb975fec7f489fdaaca94984935 SHA1 (patch-ac) = d169a0c722bebd53f9de25c0f6e208236650939a SHA1 (patch-ad) = f2ecb3a2f0cf51024b221e02eb92b9e517455d93 diff --git a/lang/p2c/patches/patch-aa b/lang/p2c/patches/patch-aa index bcffab8b211..9d69cc5a6e2 100644 --- a/lang/p2c/patches/patch-aa +++ b/lang/p2c/patches/patch-aa @@ -1,8 +1,10 @@ -$NetBSD: patch-aa,v 1.2 2011/12/18 16:54:08 dholland Exp $ +$NetBSD: patch-aa,v 1.3 2013/04/28 03:38:25 dholland Exp $ - configure for pkgsrc - use ranlib properly - fix install permissions + - honor PKGMANDIR + - support MAKE_JOBS --- Makefile.orig 1991-04-24 20:30:37.000000000 +0000 +++ Makefile @@ -21,7 +23,7 @@ $NetBSD: patch-aa,v 1.2 2011/12/18 16:54:08 dholland Exp $ +INCDIR = ${PREFIX}/include/p2c +BINDIR = ${PREFIX}/bin +LIBDIR = ${PREFIX}/lib -+MANDIR = ${PREFIX}/man/man1 ++MANDIR = ${PREFIX}/${PKGMANDIR}/man1 +#MANFILE = p2c.cat # human-readable manual (for cat.1) +MANFILE = p2c.man.inst # uncompressed nroff source (for man.1) #MANFILE = p2c.man.Z # compressed nroff source (for man.1.Z) @@ -49,6 +51,15 @@ $NetBSD: patch-aa,v 1.2 2011/12/18 16:54:08 dholland Exp $ MISCSRCS = makeproto.c PROTOS = p2c.proto p2c.hdrs +@@ -73,7 +73,7 @@ HDRS = trans.h p2c.h + + + # Top-level targets +-all: proto p2c libp2c.a p2c.cat ++all: proto .WAIT p2c libp2c.a p2c.cat + proto: $(PROTOS) + + @@ -129,7 +129,8 @@ p2c.cat: p2c.man.inst # Third, execute "make install" to compile and set things up. # (You may need to have a system operator do these steps for you.) |