diff options
| author | Agney Lopes Roth Ferraz <agney@debian.org> | 2006-10-11 23:56:11 -0300 | 
|---|---|---|
| committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:37 -0500 | 
| commit | fe52c0d1c1fd03de59be5f15047b2f23207e32fb (patch) | |
| tree | 93ad53521e001bc109f83bd57ae7cbd791d86c48 /configure | |
| parent | 7c03859545faa5dff9d54a63e892de75a4e39d2c (diff) | |
Import Debian changes 0.4.1-3
hardinfo (0.4.1-3) unstable; urgency=low
  * Changed libz path (Closes: #391963)
  * added support to alpha arm ia64 m68k s390
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 36 | 
1 files changed, 35 insertions, 1 deletions
| @@ -20,6 +20,28 @@  #  # --------------------------------------------------------------------------- +## hack created to avoid dpkg-source error +## I did not put this on rules because if everything works fine +## upstream author will put this on package tarball + +create_links ( ) { +ln -sf arch/linux/common/alsa.h arch/linux/$1/ +ln -sf arch/linux/common/filesystem.h arch/linux/$1/ +ln -sf arch/linux/common/inputdevices.h arch/linux/$1/ +ln -sf arch/linux/common/loadavg.h arch/linux/$1/ +ln -sf arch/linux/common/memory.h arch/linux/$1/ +ln -sf arch/linux/common/modules.h arch/linux/$1/ +ln -sf arch/linux/common/net.h arch/linux/$1/ +ln -sf arch/linux/common/nfs.h arch/linux/$1/ +ln -sf arch/linux/common/os.h arch/linux/$1/ +ln -sf arch/linux/common/pci.h arch/linux/$1/ +ln -sf arch/linux/common/samba.h arch/linux/$1/ +ln -sf arch/linux/common/sensors.h arch/linux/$1/ +ln -sf arch/linux/common/storage.h arch/linux/$1/ +ln -sf arch/linux/common/uptime.h arch/linux/$1/ +ln -sf arch/linux/common/usb.h arch/linux/$1/ +} +  PACKAGE=`basename ${PWD} | cut -d"-" -f1`;  VERSION=`basename ${PWD} | cut -d"-" -f2`; @@ -64,9 +86,21 @@ case $PROC in  	sparc*)  		ln -sf linux/sparc arch/this  		ARCH="ARCH_SPARC" ;; -	armv4l) +	armv*)  		ln -sf linux/armv4l arch/this  		ARCH="ARCH_ARMV4L" ;; +        ia64) +		create_links ia64; +                ln -sf linux/ia64  arch/this +                ARCH="ARCH_IA64" ;; +        alpha) +		create_links alpha; +                ln -sf linux/alpha  arch/this +                ARCH="ARCH_ALPHA" ;; +        s390) +		create_links s390; +                ln -sf linux/s390  arch/this +                ARCH="ARCH_S390" ;;  	*)  		# uname -m on m68k doesn't return anything useful :/  		grep "680?0" /proc/cpuinfo > /dev/null | 
