diff options
author | adam <adam@pkgsrc.org> | 2019-07-16 08:43:16 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-07-16 08:43:16 +0000 |
commit | 4cd947459592fc60100ce7ef7b31aa2b37f261dd (patch) | |
tree | cd0df479ceebe47ee15905197d78553f327cf26c /graphics/exiv2 | |
parent | 8aaee914c326b3a549ff035bb932a6fcf34b851f (diff) | |
download | pkgsrc-4cd947459592fc60100ce7ef7b31aa2b37f261dd.tar.gz |
exiv2: fix buildling on Darwin
Diffstat (limited to 'graphics/exiv2')
-rw-r--r-- | graphics/exiv2/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/graphics/exiv2/Makefile b/graphics/exiv2/Makefile index cf37b9c5b7e..67e57b6e695 100644 --- a/graphics/exiv2/Makefile +++ b/graphics/exiv2/Makefile @@ -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_TOOLS+= msgfmt 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 |