summaryrefslogtreecommitdiff
path: root/x11/xcalib
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2014-02-08 12:59:31 +0000
committerwiedi <wiedi@pkgsrc.org>2014-02-08 12:59:31 +0000
commit3c0beb3a2c61b40c7fbf5fe05ff9579a2cd3e2da (patch)
tree02e074a4a764ea5bbebb3ebf882898530088c8dc /x11/xcalib
parent7e582ac6537b67d71f1ccdb7b1e54dd8be4c345c (diff)
downloadpkgsrc-3c0beb3a2c61b40c7fbf5fe05ff9579a2cd3e2da.tar.gz
add int type on SunOS
Diffstat (limited to 'x11/xcalib')
-rw-r--r--x11/xcalib/Makefile6
1 files changed, 4 insertions, 2 deletions
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 \