pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/pkgconf



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Jan 30 10:43:21 UTC 2018

Modified Files:
        pkgsrc/devel/pkgconf: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/pkgconf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/pkgconf/Makefile
diff -u pkgsrc/devel/pkgconf/Makefile:1.12 pkgsrc/devel/pkgconf/Makefile:1.13
--- pkgsrc/devel/pkgconf/Makefile:1.12  Wed Jan 24 17:00:09 2018
+++ pkgsrc/devel/pkgconf/Makefile       Tue Jan 30 10:43:20 2018
@@ -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 @@ PKGCONFIG_PATHS+=     ${X11BASE}/lib/pkgconf
 
 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