forked from PsychoticNinja/irssi
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
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…
x
Reference in New Issue
Block a user