pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/neon Fix path in .so includes to be relative to ${...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93375a173941
branches:  trunk
changeset: 604163:93375a173941
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu May 24 13:10:20 2012 +0000

description:
Fix path in .so includes to be relative to ${PKGMANDIR}.
Bump PKGREVISION.

diffstat:

 www/neon/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 7555d8fd6233 -r 93375a173941 www/neon/Makefile
--- a/www/neon/Makefile Thu May 24 12:01:12 2012 +0000
+++ b/www/neon/Makefile Thu May 24 13:10:20 2012 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.54 2011/12/15 15:19:35 drochner Exp $
+# $NetBSD: Makefile,v 1.55 2012/05/24 13:10:20 wiz Exp $
 
 DISTNAME=      neon-0.29.6
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  http://www.webdav.org/neon/
 
@@ -24,6 +25,14 @@
 #selftest needs perl
 USE_TOOLS+=            perl
 
+post-build:
+       cd ${WRKSRC}/doc/man && \
+       for i in ne_*3; do \
+               if grep -q '^.so ' $$i >/dev/null; then \
+                       sed -e "s_.so _.so man3/_" $$i > $$i.new && mv $$i.new $$i; \
+               fi; \
+       done
+
 .include "options.mk"
 
 .include "../../devel/gettext-lib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index