pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/exiv2 exiv2: fix buildling on Darwin
details: https://anonhg.NetBSD.org/pkgsrc/rev/ef714095713f
branches: trunk
changeset: 398309:ef714095713f
user: adam <adam%pkgsrc.org@localhost>
date: Tue Jul 16 08:43:16 2019 +0000
description:
exiv2: fix buildling on Darwin
diffstat:
graphics/exiv2/Makefile | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r c6126f69894f -r ef714095713f graphics/exiv2/Makefile
--- a/graphics/exiv2/Makefile Tue Jul 16 08:27:39 2019 +0000
+++ b/graphics/exiv2/Makefile Tue Jul 16 08:43:16 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2019/07/15 22:07:08 nia Exp $
+# $NetBSD: Makefile,v 1.42 2019/07/16 08:43:16 adam Exp $
-VER= 0.27.1
-DISTNAME= exiv2-${VER}-Source
+DISTNAME= exiv2-0.27.1-Source
PKGNAME= ${DISTNAME:S/-Source//}
CATEGORIES= graphics
MASTER_SITES= https://www.exiv2.org/builds/
@@ -16,7 +15,12 @@
USE_LANGUAGES= c c++
GCC_REQD+= 3.3
+.include "../../mk/bsd.prefs.mk"
+
CMAKE_ARGS+= -DEXIV2_BUILD_SAMPLES:BOOL=OFF
+.if ${OPSYS} == "Darwin"
+CMAKE_ARGS+= -DIntl_INCLUDE_DIR=${BUILDLINK_PREFIX.gettext}/include
+.endif
LDFLAGS.Linux+= -ldl
LDFLAGS.SunOS+= -lsocket -lnsl
Home |
Main Index |
Thread Index |
Old Index