pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/evolution Depend on pthread-sem if /usr/include/s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88cae62e5914
branches:  trunk
changeset: 466591:88cae62e5914
user:      rh <rh%pkgsrc.org@localhost>
date:      Tue Jan 20 23:54:48 2004 +0000

description:
Depend on pthread-sem if /usr/include/semaphore.h does not exist.  Makes
this compile under NetBSD-1.6.
Bump PKGREVISION.

diffstat:

 mail/evolution/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 1a8da28ae1a7 -r 88cae62e5914 mail/evolution/Makefile
--- a/mail/evolution/Makefile   Tue Jan 20 23:47:23 2004 +0000
+++ b/mail/evolution/Makefile   Tue Jan 20 23:54:48 2004 +0000
@@ -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 @@
                ${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"



Home | Main Index | Thread Index | Old Index