aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk84
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/tk84
parent217ede3c644d4543d1a90172d7e8b87e4f71f422 (diff)
downloadfreebsd-ports-graphics-14b114cd9345286b777fcb7d52cccc630408c5d0.tar.gz
freebsd-ports-graphics-14b114cd9345286b777fcb7d52cccc630408c5d0.tar.zst
freebsd-ports-graphics-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/tk84')
-rw-r--r--x11-toolkits/tk84/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-toolkits/tk84/Makefile b/x11-toolkits/tk84/Makefile
index 6ada8f1f2c0..0a7f0c72884 100644
--- a/x11-toolkits/tk84/Makefile
+++ b/x11-toolkits/tk84/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tk
PORTVERSION= 8.4.15
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= x11-toolkits tk84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -19,7 +19,7 @@ MAINTAINER= mm@FreeBSD.org
COMMENT= Graphical toolkit for TCL
LATEST_LINK?= tk84
-USE_XLIB= yes
+USE_XORG= x11
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix
GNU_CONFIGURE= yes
@@ -382,6 +382,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' \