Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2006 15:32:04 GMT
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/97790: [maintainer update] net-im/gloox: BROKEN on 4.x
Message-ID:  <200605241532.k4OFW4n2006821@www.freebsd.org>
Resent-Message-ID: <200605241540.k4OFeEHc059624@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97790
>Category:       ports
>Synopsis:       [maintainer update] net-im/gloox: BROKEN on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 24 15:40:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        
>Organization:
>Environment:
>Description:
According to http://people.freebsd.org/~fenner/errorlogs/trasz@pin.if.uz.zgora.pl.html, gloox fails to build
on FreeBSD 4.  I'm not sure if the patch attached is correct (don't have any FreeBSD 4 machine) or optimal
(it seems to be a compiler problem, not a problem with operating system itself), but i hope it will do ;-)

--- Makefile.orig       Sun May 21 11:27:29 2006
+++ Makefile    Sun May 21 11:46:12 2006
@@ -24,10 +24,16 @@
                LDFLAGS="-L${LOCALBASE}/lib"
 INSTALLS_SHLIB=        yes
 
+.include <bsd.port.pre.mk>
+
+.if (${OSVERSION} < 500000)
+BROKEN= Does not build on FreeBSD < 5.x.
+.endif
+
 post-install:
        @${FIND} ${PREFIX}/include/gloox ! -type d | \
                ${SED} "s,${PREFIX}/,," >> ${TMPPLIST}
        @${FIND} ${PREFIX}/include/gloox -type d | ${SORT} -r | \
                ${SED} "s,${PREFIX}/,@dirrm ," >> ${TMPPLIST}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605241532.k4OFW4n2006821>