diff options
author | rh <rh@pkgsrc.org> | 2004-01-20 23:54:48 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2004-01-20 23:54:48 +0000 |
commit | 2c8031296cab420a4fce954826069ca4e1c9ed7b (patch) | |
tree | 324f74689984828d99897d0f43d7519747f5a23f /mail/evolution | |
parent | 47c3a9d51946f1a7986e9f83ce08f091c8c94210 (diff) | |
download | pkgsrc-2c8031296cab420a4fce954826069ca4e1c9ed7b.tar.gz |
Depend on pthread-sem if /usr/include/semaphore.h does not exist. Makes
this compile under NetBSD-1.6.
Bump PKGREVISION.
Diffstat (limited to 'mail/evolution')
-rw-r--r-- | mail/evolution/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index b1d506ebf8c..67e5c169241 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.47 2004/01/14 07:27:51 xtraeme Exp $ +# $NetBSD: Makefile,v 1.48 2004/01/20 23:54:48 rh Exp $ DISTNAME= evolution-1.4.5 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= mail time gnome MASTER_SITES= ftp://ftp.ximian.com/pub/source/evolution/ \ ${MASTER_SITE_GNOME:=sources/evolution/1.4/} @@ -74,6 +74,10 @@ pre-configure: ${MV} $$i.fixed $$i ; \ done +.if !exists(/usr/include/semaphore.h) +LDFLAGS+= -lsemaphore +.include "../../devel/pthread-sem/buildlink2.mk" +.endif .include "../../databases/db3/buildlink2.mk" .include "../../databases/openldap/buildlink2.mk" .include "../../devel/GConf2/schemas.mk" |