pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/49079: devel/gobject-introspection needs shoehorning of path to separate pkgsrc install
The following reply was made to PR pkg/49079; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/49079: devel/gobject-introspection needs shoehorning of path
to separate pkgsrc install
Date: Wed, 17 Sep 2014 11:33:38 +0200
On Wed, Aug 06, 2014 at 03:20:00PM +0000,
thomas.orgis%uni-hamburg.de@localhost wrote:
> Index: devel/gobject-introspection/Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/devel/gobject-introspection/Makefile,v
> retrieving revision 1.40
> diff -r1.40 Makefile
> 49a50,61
> > # Enforce pkgsrc install of gir stuff to be first in search path.
> > # I am assuming that we should not encode $DESTDIR in the installed
> > # wrapper script. -- ThOr
> > post-install:
> > ${MV} ${DESTDIR}${PREFIX}/bin/g-ir-scanner
> > ${DESTDIR}${PREFIX}/bin/g-ir-scanner.plain
> > printf "#!/bin/sh\nexec \$$0.plain
> > --add-include-path=${PREFIX}/share/gir-1.0 \"\$$@\"\n" >
> > ${DESTDIR}${PREFIX}/bin/g-ir-scanner
> > chmod +x ${DESTDIR}${PREFIX}/bin/g-ir-scanner
> > ${MV} ${DESTDIR}${PREFIX}/bin/g-ir-compiler
> > ${DESTDIR}${PREFIX}/bin/g-ir-compiler.plain
> > printf "#!/bin/sh\nexec \$$0.plain
> > --includedir=${PREFIX}/share/gir-1.0 \"\$$@\"\n" >
> > ${DESTDIR}${PREFIX}/bin/g-ir-compiler
> > chmod +x ${DESTDIR}${PREFIX}/bin/g-ir-compiler
> >
> >
> Index: devel/gobject-introspection/PLIST
> ===================================================================
> RCS file: /cvsroot/pkgsrc/devel/gobject-introspection/PLIST,v
> retrieving revision 1.6
> diff -r1.6 PLIST
> 3a4
> > bin/g-ir-compiler.plain
> 5a7
> > bin/g-ir-scanner.plain
>
Please use diff -u.
Joerg
Home |
Main Index |
Thread Index |
Old Index