I tested the initial patch on paer.debian.org, a parisc machine.
I found that it didn't work. However, this one did:
--- midori-0.1.4/debian/rules.orig 2009-03-18 00:47:05.000000000 +0000
+++ midori-0.1.4/debian/rules 2009-03-18 00:45:01.000000000 +0000
@@ -2,7 +2,7 @@
build:
dh $@ --before configure
- ./waf --nocache configure --prefix=/usr
+ CFLAGS="-fPIC" ./waf --nocache configure --prefix=/usr
./waf --nocache build
./waf --nocache check
dh $@ --remaining
If this needs to be arch-specific it could probably be changed to
something like:
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifeq ($(DEB_HOST_ARCH),hppa)
CFLAGS+="-fPIC"
endif
build:
dh $@ --before configure
CFLAGS="$(CFLAGS)" ./waf --nocache configure --prefix=/usr
./waf --nocache build
./waf --nocache check
dh $@ --remaining
By the way - I noticed that platform.architecture() == 'parisc64' on
paer, so that may have been the problem with the initial patch.
--
dann frazier
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]