diff options
author | wiz <wiz@pkgsrc.org> | 2011-09-22 11:54:22 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-09-22 11:54:22 +0000 |
commit | 40cf42f63d5bb89e4aad49e32467ed7e7045d4ad (patch) | |
tree | 639e290474be0abf870a2059e0c9940dea6f6386 | |
parent | b312e00b005f814232e30a56ad6602203b93aa0c (diff) | |
download | pkgsrc-40cf42f63d5bb89e4aad49e32467ed7e7045d4ad.tar.gz |
Fix build on NetBSD-4. From Robert Elz in PR 45337.
-rw-r--r-- | mail/evolution/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index 278904690ba..9264167439f 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.174 2011/06/10 09:39:45 obache Exp $ +# $NetBSD: Makefile,v 1.175 2011/09/22 11:54:22 wiz Exp $ DISTNAME= evolution-2.32.3 PKGREVISION= 1 @@ -52,6 +52,12 @@ GCONF_SCHEMAS+= evolution-mail.schemas BUILDLINK_TRANSFORM+= rm:-DG_DISABLE_DEPRECATED BUILDLINK_TRANSFORM+= rm:-DGTK_DISABLE_DEPRECATED +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M4.*) +BUILDLINK_TRANSFORM+= rm:-Wl,--no-undefined +.endif + .if !exists(/usr/include/semaphore.h) LDFLAGS+= -lsemaphore .include "../../devel/pthread-sem/buildlink3.mk" |