mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
--with-perl-path -> --with-perl-lib=[site|vendor|DIR] with some fixes to
make it work better. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1693 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7a7b7a1c1a
commit
642622624d
4 changed files with 49 additions and 37 deletions
|
|
@ -15,7 +15,7 @@ perl-core.c: perl-signals-list.h irssi-core.pl.h
|
|||
|
||||
INCLUDES = $(GLIB_CFLAGS) \
|
||||
-DSCRIPTDIR=\""$(libdir)/irssi/scripts"\" \
|
||||
-DPERL_LIB_DIR=\""$(PERL_LIB_DIR)"\" \
|
||||
-DPERL_USE_LIB=\""$(PERL_USE_LIB)"\" \
|
||||
$(PERL_CFLAGS) \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/core \
|
||||
|
|
@ -121,11 +121,7 @@ all-local:
|
|||
for dir in common irc ui; do \
|
||||
cd $$dir && \
|
||||
if [ ! -f Makefile ]; then \
|
||||
if [ "x$(PERL_LIB_DIR)" = "x" ]; then \
|
||||
$(perlpath) Makefile.PL; \
|
||||
else \
|
||||
$(perlpath) Makefile.PL PREFIX=$(PERL_LIB_DIR) INSTALLDIRS=perl; \
|
||||
fi; \
|
||||
$(perlpath) Makefile.PL $(PERL_MM_PARAMS); \
|
||||
fi && \
|
||||
($(MAKE) || $(MAKE)) && \
|
||||
cd ..; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue