summaryrefslogtreecommitdiff
path: root/usr/src/lib/pysolaris
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2016-02-07 18:36:13 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2016-02-07 18:36:13 +0000
commitc4f6fbdceaec2d64d6bb7dba46d91ef61c0983ca (patch)
treeae4c2c23f880a979e356abde0b48b22eebc9d0e7 /usr/src/lib/pysolaris
parenta07632cea359a68576961f7b45238a6a37a82945 (diff)
parent6d6fcbbb256ba9a8fe3e6076ae8a1f493b1f1a99 (diff)
downloadillumos-joyent-c4f6fbdceaec2d64d6bb7dba46d91ef61c0983ca.tar.gz
[illumos-gate merge]
commit 6d6fcbbb256ba9a8fe3e6076ae8a1f493b1f1a99 6600 cmd/fm should use the msgfmt(1) that Makefile.master tells it to commit aeac2d873b68a43f6650e0d0f021c02f5a653a21 6606 pysolaris has no translations but pretends otherwise commit f3b6506e5de00944c5a877f02a83b5e850f37ef5 6564 F_FLOCKW and F_FLOCK are undefined symbols in SPARC build commit 238d8f47d92b5b99a374f9639e0704420d3aef77 6601 Various GLD drivers return EINVAL instead of ENOTSUP for unused mac_prop_id_t's commit 4870e0a7381ec2ec57437062574e6ddc3dd48d7f 6582 initial reorg adding sys/null.h for 5218 6487 clean up __STDC__ ifdefs in rpcsvc/dbm.h 6563 fmtmsg.h should be simplified and neither define NULL nor _NULL Conflicts: usr/src/lib/Makefile
Diffstat (limited to 'usr/src/lib/pysolaris')
-rw-r--r--usr/src/lib/pysolaris/Makefile11
-rw-r--r--usr/src/lib/pysolaris/common/misc.c9
2 files changed, 1 insertions, 19 deletions
diff --git a/usr/src/lib/pysolaris/Makefile b/usr/src/lib/pysolaris/Makefile
index 7c018260b7..df3d21faa4 100644
--- a/usr/src/lib/pysolaris/Makefile
+++ b/usr/src/lib/pysolaris/Makefile
@@ -26,8 +26,6 @@
include ../Makefile.lib
SUBDIRS= $(MACH)
-XGETTEXT= $(GNUXGETTEXT)
-XGETFLAGS= $(GNUXGETFLAGS)
all := TARGET= all
install := TARGET= install
@@ -35,21 +33,14 @@ clean := TARGET= clean
clobber := TARGET= clobber
lint := TARGET= lint
-MSGFIND = $(FIND) . -name '*.py' -o -name '*.c'
-MSGFILES = $(MSGFIND:sh)
PYCFIND = $(FIND) . -name '*.pyc'
PYCFILES = $(PYCFIND:sh)
-POFILE = pysolaris.po
.KEEP_STATE:
all install clean lint: $(SUBDIRS)
clobber: $(SUBDIRS)
- $(RM) $(POFILE) $(PYCFILES)
-
-$(POFILE): pofile_MSGFILES
-
-_msg: $(MSGDOMAINPOFILE)
+ $(RM) $(PYCFILES)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
diff --git a/usr/src/lib/pysolaris/common/misc.c b/usr/src/lib/pysolaris/common/misc.c
index da7bb0075f..13280d461f 100644
--- a/usr/src/lib/pysolaris/common/misc.c
+++ b/usr/src/lib/pysolaris/common/misc.c
@@ -29,12 +29,6 @@
#include <idmap.h>
#include <directory.h>
-#ifdef __lint
-#define dgettext(x, y) y
-#endif
-
-#define _(s) dgettext(TEXT_DOMAIN, s)
-
extern int sid_to_id(char *sid, boolean_t user, uid_t *id);
static PyObject *
@@ -130,8 +124,5 @@ static PyMethodDef solarismethods[] = {
void
initmisc(void)
{
- char *noop;
-
- noop = _("noop");
PyObject *solaris_misc = Py_InitModule("solaris.misc", solarismethods);
}