pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pkgconf pkgconf: Force correct largefile defines...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73f70f686e07
branches:  trunk
changeset: 374858:73f70f686e07
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jan 30 10:43:20 2018 +0000

description:
pkgconf: Force correct largefile defines on SunOS.

The configure script only sets _FILE_OFFSET_BITS=64, resulting in a
mismatched off_t and various strange failure modes.  Bump PKGREVISION.

diffstat:

 devel/pkgconf/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 401c435afdba -r 73f70f686e07 devel/pkgconf/Makefile
--- a/devel/pkgconf/Makefile    Tue Jan 30 10:32:44 2018 +0000
+++ b/devel/pkgconf/Makefile    Tue Jan 30 10:43:20 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2018/01/24 17:00:09 ryoon Exp $
+# $NetBSD: Makefile,v 1.13 2018/01/30 10:43:20 jperkin Exp $
 
 DISTNAME=      pkgconf-1.4.1
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  https://distfiles.dereferenced.org/pkgconf/
 
@@ -29,6 +30,9 @@
 
 CONFIGURE_ARGS+=       --with-pkg-config-dir='${PKGCONFIG_PATHS:ts::Q}'
 
+# configure script incorrectly sets only _FILE_OFFSET_BITS=64
+CPPFLAGS.SunOS+=       -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+
 post-install:
        ${LN} -s ${DESTDIR}${PREFIX}/bin/pkgconf ${DESTDIR}${PREFIX}/bin/pkg-config
 



Home | Main Index | Thread Index | Old Index