From 2bc284c77e421248f810fff25ea141dff9c93eb9 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 28 Jul 2001 22:59:59 +0000 Subject: [PATCH] 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 --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 216bf649..09ef4f81 100755 --- a/debian/rules +++ b/debian/rules @@ -23,8 +23,10 @@ configure-stamp: build: configure-stamp build-stamp build-stamp: dh_testdir + if test -z "`perl -v|grep '5\.0'`"; then \ 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 clean: