Date: Thu, 9 Feb 2012 14:16:57 GMT From: Denis Generalov <gd@rambler-co.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/164928: port does not build Message-ID: <201202091416.q19EGvIs072194@red.freebsd.org> Resent-Message-ID: <201202091420.q19EK8LP014499@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 164928 >Category: ports >Synopsis: port does not build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 09 14:20:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Denis Generalov >Release: 9.0-STABLE >Organization: Rambler >Environment: FreeBSD tyl2.park.rambler.ru 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jan 14 02:35:27 MSK 2012 root@tyl2.park.rambler.ru:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Port marked as broken because it does'nt build of FreeBSD version higher then 8.X >How-To-Repeat: try to build >Fix: see patch Patch attached with submission follows: ===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS /usr/ports/textproc/py-rxp/Makefile /home/gd/work/cvs_ports/textproc/py-rxp/Makefile --- /usr/ports/textproc/py-rxp/Makefile 2010-05-24 01:16:16.000000000 +0400 +++ /home/gd/work/cvs_ports/textproc/py-rxp/Makefile 2012-02-09 18:10:24.000000000 +0400 @@ -7,6 +7,7 @@ PORTNAME= rxp PORTVERSION= 0.9 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= http://www.reportlab.com/ftp/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -27,13 +28,6 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 900000 -BROKEN= does not build -.endif - -post-patch: - @${REINPLACE_CMD} -e 's/freebsd4/freebsd4", "freebsd5", "freebsd6", "freebsd7", "freebsd8/g' ${WRKSRC}/setup.py - .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${EXAMPLESDIR} ${DOCSDIR} diff -ruN --exclude=CVS /usr/ports/textproc/py-rxp/files/patch-setup.py /home/gd/work/cvs_ports/textproc/py-rxp/files/patch-setup.py --- /usr/ports/textproc/py-rxp/files/patch-setup.py 1970-01-01 03:00:00.000000000 +0300 +++ /home/gd/work/cvs_ports/textproc/py-rxp/files/patch-setup.py 2012-02-09 18:11:16.000000000 +0400 @@ -0,0 +1,12 @@ +--- setup.py 2002-05-03 14:20:22.000000000 +0400 ++++ setup.py 2012-02-09 18:09:53.000000000 +0400 +@@ -25,7 +25,8 @@ + LIBS=['nsl', 'socket', 'dl'] + elif sys.platform=="aix4": + LIBS=['nsl_r', 'dl'] +- elif sys.platform in ("freebsd4", "darwin", "mac", "linux2"): ++ elif sys.platform in ("freebsd4", "darwin", "mac", "linux2") \ ++ or sys.platform.startswith("freebsd"): + LIBS=[] + else: + msg = "Don't know about system %s" % sys.platform ===> Done >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202091416.q19EGvIs072194>