diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-01-10 11:14:44 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-01-10 11:14:44 +0000 |
commit | b075c3067824ae27e72a691af697f77264af518d (patch) | |
tree | 896cdafb0b3415b4e32a3e5ffe1ca4f8bee15336 /ham | |
parent | feb639d62f4fb967c20e832742126d20d7cc65af (diff) | |
download | pkgsrc-b075c3067824ae27e72a691af697f77264af518d.tar.gz |
Disable RPC support on SmartOS.
Diffstat (limited to 'ham')
-rw-r--r-- | ham/hamlib/Makefile | 12 | ||||
-rw-r--r-- | ham/hamlib/PLIST | 14 |
2 files changed, 18 insertions, 8 deletions
diff --git a/ham/hamlib/Makefile b/ham/hamlib/Makefile index eedece84f43..e70c566af58 100644 --- a/ham/hamlib/Makefile +++ b/ham/hamlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2013/05/31 12:41:10 wiz Exp $ +# $NetBSD: Makefile,v 1.35 2014/01/10 11:14:44 jperkin Exp $ # DISTNAME= hamlib-1.2.15.3 @@ -23,6 +23,16 @@ CONFIGURE_ARGS+=--without-tcl-binding \ --without-perl-binding \ --without-python-binding +.include "../../mk/bsd.prefs.mk" + +PLIST_VARS+= rpc + +.if ${OS_VARIANT} == "SmartOS" +CONFIGURE_ARGS+= --without-rpc-backends +.else +PLIST.rpc= yes +.endif + # The configure script is broken. It even requires a Python interpreter # when none is needed. CONFIGURE_ENV+= PYTHON=/nonexistent diff --git a/ham/hamlib/PLIST b/ham/hamlib/PLIST index 2bb8d0cce74..41db9c4abad 100644 --- a/ham/hamlib/PLIST +++ b/ham/hamlib/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.13 2012/06/11 00:17:58 gdt Exp $ +@comment $NetBSD: PLIST,v 1.14 2014/01/10 11:14:44 jperkin Exp $ bin/rigctl bin/rigctld bin/rigmem @@ -38,8 +38,8 @@ lib/hamlib/hamlib-prm80.la lib/hamlib/hamlib-racal.la lib/hamlib/hamlib-rft.la lib/hamlib/hamlib-rotorez.la -lib/hamlib/hamlib-rpcrig.la -lib/hamlib/hamlib-rpcrot.la +${PLIST.rpc}lib/hamlib/hamlib-rpcrig.la +${PLIST.rpc}lib/hamlib/hamlib-rpcrot.la lib/hamlib/hamlib-rs.la lib/hamlib/hamlib-sartek.la lib/hamlib/hamlib-skanti.la @@ -62,8 +62,8 @@ man/man1/rigswr.1 man/man1/rotctl.1 man/man8/rigctld.8 man/man8/rotctld.8 -man/man8/rpc.rigd.8 -man/man8/rpc.rotd.8 -sbin/rpc.rigd -sbin/rpc.rotd +${PLIST.rpc}man/man8/rpc.rigd.8 +${PLIST.rpc}man/man8/rpc.rotd.8 +${PLIST.rpc}sbin/rpc.rigd +${PLIST.rpc}sbin/rpc.rotd share/aclocal/hamlib.m4 |