mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02:00
check if we're running perl 5.00x - if so, don't define the INSTALLDIRS
since it breaks make install. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1660 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0515b00f98
commit
2bc284c77e
1 changed files with 3 additions and 1 deletions
4
debian/rules
vendored
4
debian/rules
vendored
|
|
@ -23,8 +23,10 @@ configure-stamp:
|
||||||
build: configure-stamp build-stamp
|
build: configure-stamp build-stamp
|
||||||
build-stamp:
|
build-stamp:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
|
if test -z "`perl -v|grep '5\.0'`"; then \
|
||||||
PERL_MM_OPT=INSTALLDIRS=vendor \
|
PERL_MM_OPT=INSTALLDIRS=vendor \
|
||||||
$(MAKE) CFLAGS="-O2 -g -Wall" PERL_LIB_DIR=
|
$(MAKE) CFLAGS="-O2 -g -Wall" PERL_LIB_DIR= ; else \
|
||||||
|
$(MAKE) CFLAGS="-O2 -g -Wall" PERL_LIB_DIR= ; fi
|
||||||
touch build-stamp
|
touch build-stamp
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue