[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#134260: package writes to /usr/share during build



Package: tetex-bin
Version: 1.0.7+20011202-3.1
Severity: serious
Tags: patch
Justification: fails to build from source

The build scripts from tetex-bin 1.0.7+20011202-3.1 use a $(mandir) 
setting which does not respect $(prefix).  I found the patch below was 
necessary in order to get the package to build on my system using 
fakeroot.

Steve Langasek
postmodern programmer

diff -uNr tetex-bin-1.0.7+20011202.orig/debian/rules tetex-bin-1.0.7+20011202/debian/rules
--- tetex-bin-1.0.7+20011202.orig/debian/rules	Fri Feb 15 22:45:15 2002
+++ tetex-bin-1.0.7+20011202/debian/rules	Fri Feb 15 23:35:55 2002
@@ -40,7 +40,7 @@
 	install -d debian/tmp
 	cd debian/tmp && install -d `cat ../dirs`
 #tetex-bin install
-	make install prefix=`pwd`/debian/tmp/usr texmf=`pwd`/debian/tmp/usr/share/texmf
+	make install prefix=`pwd`/debian/tmp/usr texmf=`pwd`/debian/tmp/usr/share/texmf mandir=`pwd`/debian/tmp/usr/share/man/
 	make strip prefix=`pwd`/debian/tmp/usr
 	# move web2c to var
 	cp -a debian/tmp/usr/share/texmf/web2c debian/tmp/var/lib/texmf



Reply to: