summaryrefslogtreecommitdiffstats
path: root/net-im/gale/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/gale/Makefile')
-rw-r--r--net-im/gale/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/net-im/gale/Makefile b/net-im/gale/Makefile
index cb39a8a..ce4e991 100644
--- a/net-im/gale/Makefile
+++ b/net-im/gale/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gale
PORTVERSION= 0.99f
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net-im
MASTER_SITES= http://download.ofb.net/${PORTNAME}/
DISTNAME= ${PORTNAME}-${PORTVERSION}ruit
@@ -22,14 +22,13 @@ USE_OPENSSL= yes
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
-CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \
+CPPFLAGS+= -I${LOCALBASE}/include \
-I${LOCALBASE}/include/w3c-libwww
-LDFLAGS+= -L${LOCALBASE}/lib
+LIBS+= -L${LOCALBASE}/lib
-# cheesy hack - test-oop doesn't build, but we don't care.
-pre-configure:
- ${REINPLACE_CMD} -e 's/\(^noinst_PROGRAMS =.*\)test-oop/\1/' \
+post-patch:
+ @${REINPLACE_CMD} 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's/\(^noinst_PROGRAMS =.*\)test-oop/\1/' \
${WRKSRC}/liboop/Makefile.in
.include <bsd.port.mk>
OpenPOWER on IntegriCloud