pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libgtop2 libgtop2_server and related libraries a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9332fa5ea7fe
branches:  trunk
changeset: 470916:9332fa5ea7fe
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Mar 12 22:30:35 2004 +0000

description:
libgtop2_server and related libraries are not built on Linux because
they are not necessary.  Conditionally remove them from PLIST.

diffstat:

 devel/libgtop2/Makefile |   8 +++++++-
 devel/libgtop2/PLIST    |  16 ++++++++--------
 2 files changed, 15 insertions(+), 9 deletions(-)

diffs (62 lines):

diff -r 40d53bf82932 -r 9332fa5ea7fe devel/libgtop2/Makefile
--- a/devel/libgtop2/Makefile   Fri Mar 12 22:18:56 2004 +0000
+++ b/devel/libgtop2/Makefile   Fri Mar 12 22:30:35 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2004/03/10 21:28:32 minskim Exp $
+# $NetBSD: Makefile,v 1.25 2004/03/12 22:30:35 minskim Exp $
 
 DISTNAME=              libgtop-2.0.8
 PKGNAME=               ${DISTNAME:S/-/2-/}
@@ -53,8 +53,14 @@
 CONFIGURE_ARGS+=       --with-catgets --with-libgtop-guile=no
 CONFIGURE_ENV+=                AWK="${AWK}" LN_S="${LN} -s" PERL="${PERL5}"
 
+.if ${OPSYS} == "Linux"
+PLIST_SUBST+=  LIBGTOP_SERVER="@comment "
+.else
+PLIST_SUBST+=  LIBGTOP_SERVER=""
+
 post-install:
        @${CHMOD} g+s ${PREFIX}/bin/libgtop_server2
+.endif
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
diff -r 40d53bf82932 -r 9332fa5ea7fe devel/libgtop2/PLIST
--- a/devel/libgtop2/PLIST      Fri Mar 12 22:18:56 2004 +0000
+++ b/devel/libgtop2/PLIST      Fri Mar 12 22:30:35 2004 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2004/02/06 21:40:19 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.5 2004/03/12 22:30:36 minskim Exp $
 bin/libgtop_daemon2
-bin/libgtop_server2
+${LIBGTOP_SERVER}bin/libgtop_server2
 include/gnome/gnomesupport.h
 include/libgtop-2.0/glibtop.h
 include/libgtop-2.0/glibtop/close.h
@@ -45,7 +45,7 @@
 include/libgtop-2.0/glibtop/xmalloc.h
 include/libgtop-2.0/glibtop_machine.h
 include/libgtop-2.0/glibtop_server.h
-include/libgtop-2.0/glibtop_suid.h
+${LIBGTOP_SERVER}include/libgtop-2.0/glibtop_suid.h
 lib/libgnomesupport-2.0.a
 lib/libgnomesupport-2.0.la
 lib/libgnomesupport-2.0.so
@@ -76,11 +76,11 @@
 lib/libgtop_sysdeps-2.0.so
 lib/libgtop_sysdeps-2.0.so.0
 lib/libgtop_sysdeps-2.0.so.0.8
-lib/libgtop_sysdeps_suid-2.0.a
-lib/libgtop_sysdeps_suid-2.0.la
-lib/libgtop_sysdeps_suid-2.0.so
-lib/libgtop_sysdeps_suid-2.0.so.0
-lib/libgtop_sysdeps_suid-2.0.so.0.8
+${LIBGTOP_SERVER}lib/libgtop_sysdeps_suid-2.0.a
+${LIBGTOP_SERVER}lib/libgtop_sysdeps_suid-2.0.la
+${LIBGTOP_SERVER}lib/libgtop_sysdeps_suid-2.0.so
+${LIBGTOP_SERVER}lib/libgtop_sysdeps_suid-2.0.so.0
+${LIBGTOP_SERVER}lib/libgtop_sysdeps_suid-2.0.so.0.8
 lib/pkgconfig/gnome-support-2.0.pc
 lib/pkgconfig/libgtop-2.0.pc
 ${PKGLOCALEDIR}/locale/am/LC_MESSAGES/libgtop-2.0.mo



Home | Main Index | Thread Index | Old Index