aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--USER/Makefile.PL2
2 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5104df1..2c0311d 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,6 @@ SBINREL = ../sbin
SUBDIRS = po
localedir = $(prefix)/usr/share/locale
-override CFLAGS += -DPACKAGE=\"$(NAME)\" -DPACKAGE_NAME=\"$(NAME)\" -DLOCALEDIR=\"$(localedir)\"
-
all: userdrake
for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
diff --git a/USER/Makefile.PL b/USER/Makefile.PL
index d847317..1b8d5fa 100644
--- a/USER/Makefile.PL
+++ b/USER/Makefile.PL
@@ -11,7 +11,7 @@ WriteMakefile(
'VERSION_FROM' => 'USER.pm',
'OBJECT' => 'USER.o', # link all the C files too
'LIBS' => "$libs", # e.g., '-lm'
- 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
+ 'DEFINE' => '-DPACKAGE_NAME=userdrake', # e.g., '-DHAVE_SOMETHING'
'INC' => "`pkg-config --cflags libuser`", # e.g., '-I. -I/usr/include/other'
'XSPROTOARG' => '-noprototypes',
'TYPEMAPS' => ['../perlobject.map' ],