summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-04-21 15:06:04 +0000
committerhans <hans@pkgsrc.org>2011-04-21 15:06:04 +0000
commit4af7d551566b746d08ec830255424a34c2880550 (patch)
treef7b9e97d0b189aa01c3fee6e205520f27269158e
parent5b6fd0ab19e87f601d47c30bb5d94fc61b8679e1 (diff)
downloadpkgsrc-4af7d551566b746d08ec830255424a34c2880550.tar.gz
Fix build on SunOS.
-rw-r--r--devel/libmtp/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/libmtp/Makefile b/devel/libmtp/Makefile
index 17830145025..54bc1214d0d 100644
--- a/devel/libmtp/Makefile
+++ b/devel/libmtp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2010/01/18 10:06:15 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2011/04/21 15:06:04 hans Exp $
#
DISTNAME= libmtp-1.0.1
@@ -24,6 +24,8 @@ REPLACE_SH+= libmtp.sh.in
# XXX ?
LDFLAGS.FreeBSD+= -liconv
+LDFLAGS.SunOS= -liconv
+CPPFLAGS.SunOS= -Du_int64_t=uint64_t -Du_int32_t=uint32_t
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libusb/buildlink3.mk"