Remove the WITH_XUNICODE knob I once added, since fltk-xunicode is way

too old and obsolete.
This commit is contained in:
Akinori MUSHA 2004-06-22 04:45:25 +00:00
parent 6fc39865f7
commit e14f8d6914
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111967

View file

@ -6,7 +6,7 @@
#
PORTNAME= fltk
PORTVERSION?= ${_PORTVERSION}
PORTVERSION= ${VERSION}
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.fltk.org/pub/fltk/${VERSION}/ \
ftp://ftp.chg.ru/pub/X11/fltk/${VERSION}/ \
@ -23,24 +23,6 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
Xft.2:${PORTSDIR}/x11-fonts/libXft
.if defined(WITH_XUNICODE)
PATCH_VERSION= 20010114
_PORTVERSION+= ${VERSION}.${PATCH_VERSION}
PORTREVISION= 2
PKGNAMESUFFIX= -xunicode
PATCH_SITES= http://www.ab.wakwak.com/~tino/jatk/fltk/
PATCHFILES= ${PORTNAME}-${VERSION}${PKGNAMESUFFIX}-${PATCH_VERSION}.diff
PATCH_DIST_STRIP= -p1
BUILD_DEPENDS= ${X11BASE}/include/xunicode/xunicode.h:${PORTSDIR}/converters/xunicode
CONFIGURE_ENV= CXXFLAGS=-DUSE_XUNICODE
.else
_PORTVERSION+= ${VERSION}
.endif
.if defined(WITH_THREADS)
CONFIGURE_ARGS+=--enable-threads
CPPFLAGS+= "${PTHREAD_CFLAGS}"
@ -61,11 +43,6 @@ USE_MESA= yes
MAN1= fluid.1 fltk-config.1
MAN3= fltk.3
.if defined(WITH_XUNICODE)
post-extract:
cd ${WRKSRC} && ${LN} -s ${X11BASE}/include/xunicode
.endif
pre-everything::
@${ECHO_MSG} "===> You can enable threads support by defining WITH_THREADS"
@${ECHO_MSG} "===>"