aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk86
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2007-07-29 21:11:16 +0800
committermm <mm@FreeBSD.org>2007-07-29 21:11:16 +0800
commit14b114cd9345286b777fcb7d52cccc630408c5d0 (patch)
treef09b607fe37344f84ff80073392b0ca00541fb63 /x11-toolkits/tk86
parent217ede3c644d4543d1a90172d7e8b87e4f71f422 (diff)
downloadfreebsd-ports-gnome-14b114cd9345286b777fcb7d52cccc630408c5d0.tar.gz
freebsd-ports-gnome-14b114cd9345286b777fcb7d52cccc630408c5d0.tar.zst
freebsd-ports-gnome-14b114cd9345286b777fcb7d52cccc630408c5d0.zip
- Change USE_XLIB=yes to USE_XORG=x11
- Bump PORTREVISION Suggested by: miwi Approved by: garga (mentor, implicit)
Diffstat (limited to 'x11-toolkits/tk86')
-rw-r--r--x11-toolkits/tk86/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-toolkits/tk86/Makefile b/x11-toolkits/tk86/Makefile
index 189d8faec813..f48fac5760e8 100644
--- a/x11-toolkits/tk86/Makefile
+++ b/x11-toolkits/tk86/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tk
PORTVERSION= 8.5.a.6
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcl
@@ -18,7 +18,7 @@ MAINTAINER= mm@FreeBSD.org
COMMENT= Graphical toolkit for TCL
LATEST_LINK?= tk85
-USE_XLIB= yes
+USE_XORG= x11
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.a./a/}/unix
GNU_CONFIGURE= yes
@@ -401,6 +401,7 @@ pre-everything::
@if ${TEST} -e "${NONEXISTENT}"; then ${ECHO_MSG} "=== Aborted, please remove ${NONEXISTENT}"; exit 1; fi
post-patch:
+ @${REINPLACE_CMD} -e 's|X11/Intrinsic.h|X11/Xlib.h|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|@TK_SHARED_BUILD@|#@TK_SHARED_BUILD@|g' ${WRKSRC}/Makefile.in
.if defined(BUILDING_TK_THREADS)
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \