pkgsrc-Bugs archive

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

Re: pkg/51360: devel/pkgconf: should handle ${X11BASE}/lib/pkgconfig



The following reply was made to PR pkg/51360; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/51360: devel/pkgconf: should handle ${X11BASE}/lib/pkgconfig
Date: Fri, 29 Jul 2016 12:51:43 +0200

 On Wed, Jul 27, 2016 at 11:27:49AM +0900, Kimihiro Nonaka wrote:
 > Index: Makefile
 > ===================================================================
 > RCS file: /cvsroot/pkgsrc/devel/pkgconf/Makefile,v
 > retrieving revision 1.6
 > diff -u -p -r1.6 Makefile
 > --- Makefile    4 Feb 2016 11:50:54 -0000    1.6
 > +++ Makefile    27 Jul 2016 02:27:09 -0000
 > @@ -15,12 +15,23 @@ CONFLICTS+=    pkg-config-[0-9]*
 > 
 >  WRKSRC=        ${WRKDIR}/pkgconf-1.0
 > 
 > +.include "../../mk/bsd.prefs.mk"
 > +
 >  GNU_CONFIGURE=    yes
 > -CONFIGURE_ARGS=
 > --with-pkg-config-dir=${PREFIX}/lib/pkgconfig:${PREFIX}/share/pkgconfig:/usr/lib/pkgconfig
 > \
 > -        --with-system-libdir=/usr/lib \
 > +CONFIGURE_ARGS=    --with-system-libdir=/usr/lib \
 >          --with-system-includedir=/usr/include
 >  MAKE_FLAGS+=    MANDIR=${PREFIX}/${PKGMANDIR}/man1
 > 
 > +PKGCONFIG_PATHS=    ${PREFIX}/lib/pkgconfig
 > +PKGCONFIG_PATHS+=    ${PREFIX}/share/pkgconfig
 > +PKGCONFIG_PATHS+=    /usr/lib/pkgconfig
 > +
 > +.if ${LOCALBASE} != ${X11BASE}
 > +PKGCONFIG_PATHS+=    ${X11BASE}/lib/pkgconfig
 > +.endif
 > +
 > +CONFIGURE_ARGS+=    --with-pkg-config-dir='${PKGCONFIG_PATHS:ts::Q}'
 > +
 >  post-install:
 >      ${LN} -s ${PREFIX}/bin/pkgconf ${DESTDIR}${PREFIX}/bin/pkg-config
 
 Looks good. If it works, bump PKGREVISION and commit!
 
 Thanks,
  Thomas
 


Home | Main Index | Thread Index | Old Index