diff options
author | jperkin <jperkin> | 2014-08-21 08:25:42 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2014-08-21 08:25:42 +0000 |
commit | 7c0b57c12b73dc9168ee3b394bcab68d0d6c8b93 (patch) | |
tree | b8f3743c9a03c02735155c599d02981bbac3c4a6 /mail | |
parent | fa7a78d52ba5b43d9d7762d453a966dfca5fcedc (diff) | |
download | pkgsrc-7c0b57c12b73dc9168ee3b394bcab68d0d6c8b93.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/notmuch/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mail/notmuch/Makefile b/mail/notmuch/Makefile index fb81fde6dcb..e52b65b6bdc 100644 --- a/mail/notmuch/Makefile +++ b/mail/notmuch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2014/08/17 10:45:05 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2014/08/21 08:25:42 jperkin Exp $ DISTNAME= notmuch-0.18.1 PKGREVISION= 1 @@ -22,6 +22,15 @@ MAKE_FLAGS+= PYTHONBIN=${PYTHONBIN} CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} +.if ${OPSYS} == "SunOS" +SUBST_CLASSES+= gnuld +SUBST_STAGE.gnuld= pre-configure +SUBST_FILES.gnuld= lib/Makefile.local +SUBST_SED.gnuld= -e 's/-Wl,--[^ ]*//g' +.endif + +LDFLAGS.SunOS+= -lnsl + PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # as of 0.18 .include "../../lang/python/application.mk" .include "../../mail/gmime24/buildlink3.mk" |