ports/138745: [PATCH] lang/libHX: Fixed error with build in 6x.

Sylvio Cesar scjamorim at bsd.com.br
Sat Sep 12 03:20:07 UTC 2009


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list