diff --git a/Makefile.inc.in b/Makefile.inc.in index 154169d2b..e58aec51b 100644 --- a/Makefile.inc.in +++ b/Makefile.inc.in @@ -9,8 +9,8 @@ RANLIB = @RANLIB@ OPTS = @DEFS@ LIBRPMRC_FILENAME=$(libdir)/rpmrc LIBRPMALIAS_FILENAME=$(libdir)/rpmpopt -NLSDIR=$(prefix)/share/locale -NLSPACKAGE=rpm +RPMNLSDIR=$(prefix)/share/locale +RPMNLSPACKAGE=rpm CFLAGS = @CFLAGS@ @INCPATH@ $(WARNINGS) $(OPTS) -I$(topdir) \ -I$(topdir)/lib -I$(topdir)/misc -Wall -Wstrict-prototypes \ -DLIBRPMRC_FILENAME="\"$(LIBRPMRC_FILENAME)"\" \ diff --git a/rpm.c b/rpm.c index 2c627fc45..aa7c63014 100755 --- a/rpm.c +++ b/rpm.c @@ -500,8 +500,8 @@ int main(int argc, char ** argv) { /* set up the correct locale */ setlocale(LC_ALL, "" ); - bindtextdomain(NLSPACKAGE, NLSDIR); - textdomain(NLSPACKAGE); + bindtextdomain(RPMNLSPACKAGE, RPMNLSDIR); + textdomain(RPMNLSPACKAGE); /* Make a first pass through the arguments, looking for --rcfile */ /* as well as --arch and --os. We need to handle that before */