aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/gale/Makefile
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-04-23 16:39:14 +0800
committerlawrance <lawrance@FreeBSD.org>2005-04-23 16:39:14 +0800
commit4e3a5269749a483aa9517475ecaad8443a1335bb (patch)
tree86dc00182affcf6a5b9faf00316bb2ee620a31d5 /net-im/gale/Makefile
parentfbb3097761d137970f3ecaf11bd7fb55ee5f45cc (diff)
downloadfreebsd-ports-gnome-4e3a5269749a483aa9517475ecaad8443a1335bb.tar.gz
freebsd-ports-gnome-4e3a5269749a483aa9517475ecaad8443a1335bb.tar.zst
freebsd-ports-gnome-4e3a5269749a483aa9517475ecaad8443a1335bb.zip
Unbreak on 4.x by using the port's included wide character functions.
PR: ports/80230 Submitted by: Jason Stone <jason-fbsd-ports-gale@shalott.net> (maintainer) Approved by: clement (mentor)
Diffstat (limited to 'net-im/gale/Makefile')
-rw-r--r--net-im/gale/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/net-im/gale/Makefile b/net-im/gale/Makefile
index 2c6a787a158f..0d64372037cf 100644
--- a/net-im/gale/Makefile
+++ b/net-im/gale/Makefile
@@ -34,14 +34,13 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500039
-IGNORE= requires wchar functions for compilation
+CFLAGS+= -DNEED_WCWIDTH
.endif
# cheesy hack - test-oop doesn't build, but we don't care.
pre-configure:
${REINPLACE_CMD} -e 's/\(^noinst_PROGRAMS =.*\)test-oop/\1/' \
${WRKSRC}/liboop/Makefile.in
- ${ECHO} -n > ${WRKSRC}/libgale/wcwidth.c
post-install:
@${CAT} ${PKGMESSAGE}