summaryrefslogtreecommitdiff
path: root/x11-toolkits/fox-devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-02-24 20:23:18 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-02-24 20:23:18 +0000
commite14ecc53a74fa981a596fab38939125f007a3570 (patch)
tree64c4e528b1dfd126d4f919382818a282d001f775 /x11-toolkits/fox-devel
parentUpdate fltk to 1.0.10, fltk-xunicode to 1.0.10.20010114. (diff)
Unbreak fox-xunicode.
Diffstat (limited to 'x11-toolkits/fox-devel')
-rw-r--r--x11-toolkits/fox-devel/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11-toolkits/fox-devel/Makefile b/x11-toolkits/fox-devel/Makefile
index 636242aa29c7..19485711fb66 100644
--- a/x11-toolkits/fox-devel/Makefile
+++ b/x11-toolkits/fox-devel/Makefile
@@ -23,9 +23,7 @@ PATCH_SITES= http://www.ab.wakwak.com/~tino/jatk/fox/
PATCHFILES= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}.diff
PATCH_DIST_STRIP= -p1
-#EXTRA_PATCHES= ${PATCHDIR}/xunicode.patch-*
-
-BUILD_DEPENDS= ${X11BASE}/lib/libxunicode.a:${PORTSDIR}/converters/xunicode
+BUILD_DEPENDS= ${X11BASE}/include/xunicode/xunicode.h:${PORTSDIR}/converters/xunicode
CONFIGURE_ENV= X_CFLAGS=-DUSE_XUNICODE
.endif
@@ -53,4 +51,9 @@ MAKE_ENV+= LT_CURRENT="${SHLIB_MAJ}" LT_REVISION="${SHLIB_MIN}"
PLIST_SUB+= LIBVER="${SHLIB_MAJ}"
MAN1= reswrap.1
+.if defined(WITH_XUNICODE)
+post-extract:
+ cd ${WRKSRC} && ${LN} -s ${X11BASE}/include/xunicode
+.endif
+
.include <bsd.port.mk>