From fe82d0e19232fbd940e7e07dc7693de31670a1dc Mon Sep 17 00:00:00 2001 From: wiedi Date: Sat, 8 Feb 2014 12:59:31 +0000 Subject: add int type on SunOS --- x11/xcalib/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'x11') diff --git a/x11/xcalib/Makefile b/x11/xcalib/Makefile index 69cb16cad8a..89383e1dc36 100644 --- a/x11/xcalib/Makefile +++ b/x11/xcalib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2012/10/29 05:06:58 asau Exp $ +# $NetBSD: Makefile,v 1.4 2014/02/08 12:59:31 wiedi Exp $ # DISTNAME= xcalib-source-0.8 @@ -17,8 +17,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME:C/-source//} USE_LIBTOOL= yes INSTALLATION_DIRS= bin +CFLAGS.SunOS+= -Du_int16_t=uint16_t + do-build: - cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} -c xcalib.c + cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c xcalib.c cd ${WRKSRC} && ${LIBTOOL} --mode=link ${CC} \ ${LINKER_RPATH_FLAG}${BUILDLINK_PREFIX.libX11}/lib \ ${LINKER_RPATH_FLAG}${BUILDLINK_PREFIX.libXxf86vm}/lib \ -- cgit v1.2.3