summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-07-28 22:59:59 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-07-28 22:59:59 +0000
commit2bc284c77e421248f810fff25ea141dff9c93eb9 (patch)
treee1c5e1b8b9432a920c99f5eb6c534c939783adb6 /debian
parent0515b00f980319e8a7c4d31cdefdf7006b5a1311 (diff)
downloadirssi-2bc284c77e421248f810fff25ea141dff9c93eb9.zip
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
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 deletions
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: