Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2009 00:15:36 -0300 (BRT)
From:      Sylvio Cesar <scjamorim@bsd.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        araujo@FreeBSD.org, pav@FreeBSD.org, itetcu@FreeBSD.org, scjamorim@bsd.com.br, miwi@FreeBSD.org
Subject:   ports/138745: [PATCH] lang/libHX: Fixed error with build in 6x.
Message-ID:  <20090912031536.BB4FC228001@fbsd72.scjamorim.org>
Resent-Message-ID: <200909120320.n8C3K7Ex045006@freefall.freebsd.org>

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

>Number:         138745
>Category:       ports
>Synopsis:       [PATCH] lang/libHX: Fixed error with build in 6x.
>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:   Sat Sep 12 03:20:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd72.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug  3 22:10:47 BRT
>Description:
- Fixed error with build in 6x amd64 and i386.

The problem was reported by Miwi and Pav.
Thanks Pav and Miwi.

You can see the log in my tinderbox:
6-stable - amd64
http://www.scjamorim.org/Home/libHX-3.0.1-6amd64.log

7-stable - amd64
http://www.scjamorim.org/Home/libHX-3.0.1-7amd64.log

8-current - amd64
http://www.scjamorim.org/Home/libHX-3.0.1-8amd64.log

6-stable - i386
http://www.scjamorim.org/Home/libHX-3.0.1-6_stable.log

7-stable - i386
http://www.scjamorim.org/Home/libHX-3.0.1-7_stable.log

8-current - i386
http://www.scjamorim.org/Home/libHX-3.0.1-8_current.log

Pav and Miwi,

I'm sorry by delay in sending this PR.


Port maintainer (scjamorim@bsd.com.br) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- libHX-3.0.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/libhx/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile	4 Sep 2009 00:13:11 -0000	1.4
+++ Makefile	12 Sep 2009 03:04:40 -0000
@@ -13,12 +13,19 @@
 MAINTAINER=	scjamorim@bsd.com.br
 COMMENT=	Library C with some additional C++ bindings available
 
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
+
 USE_LDCONFIG=	yes
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	libtool:22
 
 PORTDOCS=	libHX_Documentation.pdf
 
+post-patch:
+	${REINPLACE_CMD} -e 's| -lrt||g' ${WRKSRC}/src/Makefile.in
+
 post-build:
 	@${REINPLACE_CMD} -e 's|doc src|src|g' ${WRKSRC}/Makefile
 
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/lang/libhx/pkg-plist,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-plist
--- pkg-plist	4 Sep 2009 00:13:11 -0000	1.3
+++ pkg-plist	12 Sep 2009 03:04:40 -0000
@@ -10,6 +10,7 @@
 include/libHX/proc.h
 include/libHX/string.h
 include/libHX/wx_helper.hpp
+lib/libHX.a
 lib/libHX.la
 lib/libHX.so
 lib/libHX.so.22
--- libHX-3.0.1.patch ends here ---

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



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