aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-09-13 07:26:08 +0800
committermiwi <miwi@FreeBSD.org>2009-09-13 07:26:08 +0800
commitfe9c0fc9bf61e2c1efa81f58888fe6a046761651 (patch)
tree76a827f22c172f3c098f3e0d96563ab804e645cf /lang
parent4cbe2bbd8bfc561d96a4a94b14584fbe92c08cbb (diff)
downloadfreebsd-ports-gnome-fe9c0fc9bf61e2c1efa81f58888fe6a046761651.tar.gz
freebsd-ports-gnome-fe9c0fc9bf61e2c1efa81f58888fe6a046761651.tar.zst
freebsd-ports-gnome-fe9c0fc9bf61e2c1efa81f58888fe6a046761651.zip
- Fix build on FreeBSD 6.X
PR: 138745 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> (maintainer)
Diffstat (limited to 'lang')
-rw-r--r--lang/libhx/Makefile7
-rw-r--r--lang/libhx/pkg-plist1
2 files changed, 8 insertions, 0 deletions
diff --git a/lang/libhx/Makefile b/lang/libhx/Makefile
index 1bdf4e517cd1..015d3dd96128 100644
--- a/lang/libhx/Makefile
+++ b/lang/libhx/Makefile
@@ -13,12 +13,19 @@ MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION}
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
diff --git a/lang/libhx/pkg-plist b/lang/libhx/pkg-plist
index aab837fd4c45..1e12b3d6120d 100644
--- a/lang/libhx/pkg-plist
+++ b/lang/libhx/pkg-plist
@@ -10,6 +10,7 @@ include/libHX/option.h
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