summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorminskim <minskim>2004-03-12 22:30:35 +0000
committerminskim <minskim>2004-03-12 22:30:35 +0000
commit1b3826c412ff2674fd5703b91367ad40adf4ecf9 (patch)
tree807a307d9082da4010e76d3e6ea325a83eeccc20 /devel
parent301699c73ab75d6b99a2dd3f2271f9ac77313a63 (diff)
downloadpkgsrc-1b3826c412ff2674fd5703b91367ad40adf4ecf9.tar.gz
libgtop2_server and related libraries are not built on Linux because
they are not necessary. Conditionally remove them from PLIST.
Diffstat (limited to 'devel')
-rw-r--r--devel/libgtop2/Makefile8
-rw-r--r--devel/libgtop2/PLIST16
2 files changed, 15 insertions, 9 deletions
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile
index 506b7350ade..2fa5ffdc68a 100644
--- a/devel/libgtop2/Makefile
+++ b/devel/libgtop2/Makefile
@@ -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-glib-prefix=${BUILDLINK_PREFIX.glib2}
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 --git a/devel/libgtop2/PLIST b/devel/libgtop2/PLIST
index c585a29f6b9..0890115a42c 100644
--- a/devel/libgtop2/PLIST
+++ b/devel/libgtop2/PLIST
@@ -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/write.h
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.la
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