- Add -fPIC to CFLAGS

- Add USE_XORG=x11

- Set WWW to the new site.

PR:		245071
Submitted by:	/me
Approved by:	maintainer
This commit is contained in:
Thierry Thomas 2020-03-30 12:23:39 +00:00
parent 1f147c40dd
commit 02a719e5ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529878
2 changed files with 5 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= blt
PORTVERSION= 2.5.3
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= x11-toolkits tk
MASTER_SITES= SF/wize
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
@ -15,13 +15,14 @@ LICENSE= MIT
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R}
USES= gmake jpeg shebangfix tk:tea zip
USES= gmake jpeg shebangfix tk:tea xorg zip
USE_XORG+= x11
SHEBANG_FILES= demos/scripts/xcolors.tcl
SHEBANG_LANG= bltwish
bltwish_OLD_CMD=../bltwish
bltwish_CMD= ${PREFIX}/bin/bltwish # installed by this port, so not LOCALBASE
USE_LDCONFIG= yes
CFLAGS+= -I${TCL_INCLUDEDIR}/generic \
CFLAGS+= -fPIC -I${TCL_INCLUDEDIR}/generic \
-I${TK_INCLUDEDIR}/generic \
-I${TK_INCLUDEDIR}/unix
MAKE_JOBS_UNSAFE=yes

View File

@ -2,4 +2,4 @@ The BLT Toolkit is an extension to Tcl and Tk. It adds new commands
and widgets to the Tcl interpreter. Included widgets are 2D graph,
barchart, stripchart, tab notebook, and tree viewer.
WWW: http://pdqi.com/w/pw/pdqi/Wize/Wize
WWW: https://dev.pdqi.com/fossil/wize/doc/tip/Wize.Blt.html