From 2835f003460ced28aab4569f548fa76692ceded5 Mon Sep 17 00:00:00 2001 From: jperkin Date: Fri, 24 May 2013 15:08:00 +0000 Subject: [PATCH] Make sure largefile support is enabled on SunOS. See github issues joyent/smartos-live#137 and joyent/pkgsrc#28 for more information. Bump PKGREVISION. --- pkgtools/pkgin/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgtools/pkgin/Makefile b/pkgtools/pkgin/Makefile index e9fa28cf6c73e..91191a666918d 100644 --- a/pkgtools/pkgin/Makefile +++ b/pkgtools/pkgin/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.36 2013/05/09 07:40:27 adam Exp $ +# $NetBSD: Makefile,v 1.37 2013/05/24 15:08:00 jperkin Exp $ # DISTNAME= pkgin-0.6.3.1.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= pkgtools MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/imil/ @@ -44,6 +44,8 @@ SUBST_FILES.osrel= REPOSITORIES SUBST_SED.osrel= -e "s|@OSREL@|${OS_VERSION:C/_.*//}|" .endif +CFLAGS.SunOS+= -D_FILE_OFFSET_BITS=64 + MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH} DEPENDS+= pkg_install>=20110215:../../pkgtools/pkg_install