pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/rudiments NetBSD lacks shm_open, so conditionall...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f563c3939c7
branches:  trunk
changeset: 514533:6f563c3939c7
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jun 13 19:23:24 2006 +0000

description:
NetBSD lacks shm_open, so conditionally comment the shmfile entries.

diffstat:

 devel/rudiments/Makefile |  12 +++++++++---
 devel/rudiments/PLIST    |   5 ++++-
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (57 lines):

diff -r 99cba0b44090 -r 6f563c3939c7 devel/rudiments/Makefile
--- a/devel/rudiments/Makefile  Tue Jun 13 18:08:06 2006 +0000
+++ b/devel/rudiments/Makefile  Tue Jun 13 19:23:24 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/05/21 13:59:04 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2006/06/13 19:23:24 joerg Exp $
 #
 
 DISTNAME=              rudiments-0.29
@@ -10,13 +10,19 @@
 HOMEPAGE=              http://rudiments.sourceforge.net/
 COMMENT=               C++ class library for client/server/daemon applications
 
-BROKEN_IN=             pkgsrc-2006Q1
-
 GNU_CONFIGURE=         YES
 USE_TOOLS+=            gmake
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           YES
 USE_PKGLOCALEDIR=      YES
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+PLIST_SUBST+=          COND_SHM="@comment "
+.else
+PLIST_SUBST+=          COND_SHM=""
+.endif
+
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 99cba0b44090 -r 6f563c3939c7 devel/rudiments/PLIST
--- a/devel/rudiments/PLIST     Tue Jun 13 18:08:06 2006 +0000
+++ b/devel/rudiments/PLIST     Tue Jun 13 19:23:24 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2006/06/13 17:36:17 darcy Exp $
+@comment $NetBSD: PLIST,v 1.7 2006/06/13 19:23:24 joerg Exp $
 bin/rudiments-config
 include/rudiments/character.h
 include/rudiments/charstring.h
@@ -143,6 +143,8 @@
 include/rudiments/private/serviceentryincludes.h
 include/rudiments/private/sharedmemory.h
 include/rudiments/private/sharedmemoryincludes.h
+${COND_SHM}include/rudiments/private/shmfile.h
+${COND_SHM}include/rudiments/private/shmfileincludes.h
 include/rudiments/private/signalclassesincludes.h
 include/rudiments/private/signalhandler.h
 include/rudiments/private/signalset.h
@@ -181,6 +183,7 @@
 include/rudiments/serversocket.h
 include/rudiments/serviceentry.h
 include/rudiments/sharedmemory.h
+${COND_SHM}include/rudiments/shmfile.h
 include/rudiments/signalclasses.h
 include/rudiments/snooze.h
 include/rudiments/stringbuffer.h



Home | Main Index | Thread Index | Old Index