aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk85
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2007-07-29 13:11:16 +0000
committerMartin Matuska <mm@FreeBSD.org>2007-07-29 13:11:16 +0000
commit7c0838aa59107b82f684c40e90ab09125bcd4c09 (patch)
tree6b8d37f7ad9c0ab18490b1116f6a0e52537fc427 /x11-toolkits/tk85
parent415efe671c74eecde0d84bdab42e17a7d8392afb (diff)
downloadports-7c0838aa59107b82f684c40e90ab09125bcd4c09.tar.gz
ports-7c0838aa59107b82f684c40e90ab09125bcd4c09.zip
Notes
Diffstat (limited to 'x11-toolkits/tk85')
-rw-r--r--x11-toolkits/tk85/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-toolkits/tk85/Makefile b/x11-toolkits/tk85/Makefile
index 189d8faec813..f48fac5760e8 100644
--- a/x11-toolkits/tk85/Makefile
+++ b/x11-toolkits/tk85/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' \