summaryrefslogtreecommitdiff
path: root/devel/libmtp
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
commit678cb0e5eb3039f67f200a000f848a02bb0b56ad (patch)
treef7b9e97d0b189aa01c3fee6e205520f27269158e /devel/libmtp
parent1b2f1d16a3ea0cf7f139b18c1d22437ceeea8dd4 (diff)
downloadpkgsrc-678cb0e5eb3039f67f200a000f848a02bb0b56ad.tar.gz
Fix build on SunOS.
Diffstat (limited to 'devel/libmtp')
-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"