Your message dated Wed, 21 Sep 2011 10:26:44 +0530
with message-id 
<CAO20=F0iCg4v2QGv936+CcYjHW4peEwAzS8sxN=ZU3yk44aW=w...@mail.gmail.com>
and subject line 
has caused the Debian Bug report #559507,
regarding pacparser: FTBFS on GNU/kFreeBSD
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
559507: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559507
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pacparser
Version: 1.0.9-1
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd

Hi,

your package FTBFS on GNU/kFreeBSD. The attached patch makes it build
fine, faking the Linux case in the main Makefile, and matching
gnukfreebsd* (the python strings for GNU/kFreeBSD) in setup.py.

If upstream wants to write a different check for the main Makefile,
uname -s returns “GNU/kFreeBSD”.

Thanks for considering.

Mraw,
KiBi.
Index: pacparser-1.0.9/Makefile
===================================================================
--- pacparser-1.0.9.orig/Makefile	2009-12-04 22:53:29.000000000 +0000
+++ pacparser-1.0.9/Makefile	2009-12-04 22:53:47.000000000 +0000
@@ -18,7 +18,7 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 
-OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/))
+OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/ | sed 's,GNU/kFreeBSD,Linux,'))
 
 ifeq ($(OS_ARCH),Linux)
   SO_SUFFIX = so
Index: pacparser-1.0.9/pymod/setup.py
===================================================================
--- pacparser-1.0.9.orig/pymod/setup.py	2009-12-04 22:54:02.000000000 +0000
+++ pacparser-1.0.9/pymod/setup.py	2009-12-04 22:54:21.000000000 +0000
@@ -35,7 +35,7 @@
   target = sys.argv[1]
 
 ver = sys.version[0:3]
-if sys.platform.startswith("linux") or sys.platform == "darwin":
+if sys.platform.startswith("linux") or sys.platform == "darwin" or sys.platform.startswith("gnukfreebsd"):
   os.system('make %s PY_VER="%s"' % (target, ver))
 
 if sys.platform == 'win32':

--- End Message ---
--- Begin Message ---
Version: 1.2.7

This bug has already been fixed in upstream.

--- End Message ---

Reply via email to