summaryrefslogtreecommitdiff
path: root/ports-mgmt/pib
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-04-09 17:43:19 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-04-09 17:43:19 +0000
commitbefc26fa192d24170780d9b04d60db7fe548a657 (patch)
treedb3ca69d063efe899a316698edd234d1cd1610da /ports-mgmt/pib
parent- Complete repocopy of games/bos to games/boswars. (diff)
- Use TCL/TK 8.4
PR: 110422 Submitted by: Martin Tournoij <carpetsmoker@xs4all.nl> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=189586
Diffstat (limited to 'ports-mgmt/pib')
-rw-r--r--ports-mgmt/pib/Makefile7
-rw-r--r--ports-mgmt/pib/files/patch-Makefile22
2 files changed, 23 insertions, 6 deletions
diff --git a/ports-mgmt/pib/Makefile b/ports-mgmt/pib/Makefile
index 74f9d8e54793..8915359c8130 100644
--- a/ports-mgmt/pib/Makefile
+++ b/ports-mgmt/pib/Makefile
@@ -7,15 +7,16 @@
PORTNAME= pib
PORTVERSION= 1.2
-CATEGORIES= ports-mgmt tk82
+PORTREVISION= 1
+CATEGORIES= ports-mgmt tk84
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= msmith
MAINTAINER= .@babolo.ru
COMMENT= GUI Ports Collection management tool
-BUILD_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
-RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
+USE_TK= yes
+USE_TK_BUILD= yes
.include <bsd.port.pre.mk>
diff --git a/ports-mgmt/pib/files/patch-Makefile b/ports-mgmt/pib/files/patch-Makefile
index 2d9793630bbc..e56a5d061776 100644
--- a/ports-mgmt/pib/files/patch-Makefile
+++ b/ports-mgmt/pib/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile Sat Oct 28 12:55:08 2000
-+++ Makefile Mon Oct 21 04:40:15 2002
-@@ -8,7 +8,6 @@
+--- Makefile.orig Sat Oct 28 10:55:08 2000
++++ Makefile Thu Mar 15 20:10:02 2007
+@@ -8,13 +8,12 @@
X11BASE?= /usr/X11R6
LIB= TkSteal
@@ -8,3 +8,19 @@
SHLIB_MAJOR= 2
SHLIB_MINOR= 0
NOPROFILE= yes
+
+ .if defined(OBJFORMAT) && ${OBJFORMAT} == elf
+-LDADD= -L${PREFIX}/lib -ltk82
++LDADD= -L${PREFIX}/lib -ltk84
+ .endif
+
+ SRCS= tkXAccess.c
+@@ -25,7 +24,7 @@
+ PAXFILES= ${SRCS} ${TCL_SRCS} ${HDRS} ${OTHER}
+ PAXNAME= pib-1.1
+
+-CFLAGS+= -I${PREFIX}/include/tcl8.2 -I${PREFIX}/include/tk8.2 \
++CFLAGS+= -I${PREFIX}/include/tcl8.4 -I${PREFIX}/include/tk8.4 \
+ -I${X11BASE}/include \
+ -DUSE_XACCESS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 \
+ -DSTDC_HEADERS=1 -DTK_FILE_COUNT=_r -DNEED_MATHERR=1 \