diff options
author | sketch <sketch@pkgsrc.org> | 2004-11-19 10:58:16 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2004-11-19 10:58:16 +0000 |
commit | 7299799166cca7f05c61f15d0d397aa1548c128c (patch) | |
tree | 59c893dbc0bb078456e77a2eb91c600bc06c806a /sysutils/libgtop2 | |
parent | a1c437af46a85959303d878a0ac4e3daab17f026 (diff) | |
download | pkgsrc-7299799166cca7f05c61f15d0d397aa1548c128c.tar.gz |
Fix PLIST loss on SunOS.
Diffstat (limited to 'sysutils/libgtop2')
-rw-r--r-- | sysutils/libgtop2/Makefile | 13 | ||||
-rw-r--r-- | sysutils/libgtop2/PLIST | 4 |
2 files changed, 13 insertions, 4 deletions
diff --git a/sysutils/libgtop2/Makefile b/sysutils/libgtop2/Makefile index 67663f788d6..24244a2b973 100644 --- a/sysutils/libgtop2/Makefile +++ b/sysutils/libgtop2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2004/11/19 10:53:55 sketch Exp $ +# $NetBSD: Makefile,v 1.11 2004/11/19 10:58:16 sketch Exp $ DISTNAME= libgtop-2.8.1 PKGNAME= ${DISTNAME:S/-/2-/} @@ -38,8 +38,10 @@ CONFIGURE_ARGS+= --with-catgets --with-libgtop-guile=no CONFIGURE_ARGS+= --without-x CONFIGURE_ENV+= AWK="${AWK}" LN_S="${LN} -s" PERL="${PERL5}" -PRINT_PLIST_AWK+= /^(bin\/libgtop_server2|include\/libgtop-2.0\/glibtop_suid.h)$$/ \ +PRINT_PLIST_AWK+= /^bin\/libgtop_server2$$/ \ { print "$${LIBGTOP_SERVER}" $$0; next } +PRINT_PLIST_AWK+= /^include\/libgtop-2.0\/glibtop_suid.h$$/ \ + { print "$${LIBGTOP_SUID_H}" $$0; next } .include "../../mk/bsd.prefs.mk" @@ -59,9 +61,16 @@ PKG_FAIL_REASON+= "(More information can be found in libgtop.info.)" .if ${OPSYS} == "Linux" PLIST_SUBST+= LIBGTOP_SERVER="@comment " +PLIST_SUBST+= LIBGTOP_SUID_H="@comment " +.elif ${OPSYS} == "SunOS" +PLIST_SUBST+= LIBGTOP_SERVER="" +PLIST_SUBST+= LIBGTOP_SUID_H="@comment " .else PLIST_SUBST+= LIBGTOP_SERVER="" +PLIST_SUBST+= LIBGTOP_SUID_H="" +.endif +.if ${OPSYS} != "Linux" post-install: @${CHMOD} g+s ${PREFIX}/bin/libgtop_server2 .endif diff --git a/sysutils/libgtop2/PLIST b/sysutils/libgtop2/PLIST index 51499326cec..a6b4fb01bf7 100644 --- a/sysutils/libgtop2/PLIST +++ b/sysutils/libgtop2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2004/10/26 21:03:07 jmmv Exp $ +@comment $NetBSD: PLIST,v 1.6 2004/11/19 10:58:16 sketch Exp $ bin/libgtop_daemon2 ${LIBGTOP_SERVER}bin/libgtop_server2 include/libgtop-2.0/glibtop.h @@ -43,7 +43,7 @@ include/libgtop-2.0/glibtop/version.h include/libgtop-2.0/glibtop/write.h include/libgtop-2.0/glibtop_machine.h include/libgtop-2.0/glibtop_server.h -${LIBGTOP_SERVER}include/libgtop-2.0/glibtop_suid.h +${LIBGTOP_SUID_H}include/libgtop-2.0/glibtop_suid.h lib/libgtop-2.0.la lib/pkgconfig/libgtop-2.0.pc ${PKGLOCALEDIR}/locale/am/LC_MESSAGES/libgtop-2.0.mo |