diff options
author | mi <mi@FreeBSD.org> | 2010-06-26 01:06:03 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2010-06-26 01:06:03 +0800 |
commit | 6fd20b2b61b34fe31a0f0078d3d6e60f4b0313b2 (patch) | |
tree | ba01a7af702b4370b7096db7f78476220b702d73 /net/smm++ | |
parent | e26e18eef5ae80016144f98f1d9312c4e70c60ea (diff) | |
download | freebsd-ports-gnome-6fd20b2b61b34fe31a0f0078d3d6e60f4b0313b2.tar.gz freebsd-ports-gnome-6fd20b2b61b34fe31a0f0078d3d6e60f4b0313b2.tar.zst freebsd-ports-gnome-6fd20b2b61b34fe31a0f0078d3d6e60f4b0313b2.zip |
Fix-up yet another port, that broke, because it did not use the USE_TCL
knob, but uses itcl/itk... We will rely on USE_TK here now and explitly
set the wish-version in itk.sh in the post-patch.
Approved by: portmgr (pav)
Feature safe: yes
Diffstat (limited to 'net/smm++')
-rw-r--r-- | net/smm++/Makefile | 13 | ||||
-rw-r--r-- | net/smm++/files/patch-itk.sh | 11 |
2 files changed, 6 insertions, 18 deletions
diff --git a/net/smm++/Makefile b/net/smm++/Makefile index 12beae893f2d..74cf43bfa7f3 100644 --- a/net/smm++/Makefile +++ b/net/smm++/Makefile @@ -18,15 +18,14 @@ COMMENT= Graphical mudclient with mapper RUN_DEPENDS= ${LOCALBASE}/lib/iwidgets4.0.1/iwidgets.tcl:${PORTSDIR}/x11-toolkits/iwidgets BUILD_DEPENDS= ${LOCALBASE}/lib/libitk.so:${PORTSDIR}/x11-toolkits/itk \ - ${LOCALBASE}/lib/libitcl.so.3:${PORTSDIR}/lang/itcl + ${LOCALBASE}/lib/libitcl.so:${PORTSDIR}/lang/itcl WRKSRC= ${WRKDIR}/smm/Install.unix -USE_GMAKE= yes +#USE_GMAKE= yes +USE_TK= 84+ +EXTRACT_AFTER_ARGS+=|${TAR} -xpf - --exclude CVS -post-extract: - ${FIND} ${WRKDIR} -type d -name CVS | ${XARGS} ${RM} -rf - -do-configure: - @echo "No configure needed" +post-patch: + ${REINPLACE_CMD} -e 's,itkarray=.*,itkarray=${WISH},' ${WRKSRC}/itk.sh .include <bsd.port.mk> diff --git a/net/smm++/files/patch-itk.sh b/net/smm++/files/patch-itk.sh deleted file mode 100644 index 65ff2e981ef8..000000000000 --- a/net/smm++/files/patch-itk.sh +++ /dev/null @@ -1,11 +0,0 @@ ---- itk.sh.orig Tue Jan 22 18:48:12 2002 -+++ itk.sh Tue Jan 22 18:48:48 2002 -@@ -4,7 +4,7 @@ - # - - # all possible itkwish executables --itkarray="itkwish3.1 itkwish3 itkwish30 itkwish3.0 itkwish" -+itkarray="itkwish3.1 itkwish3 itkwish30 itkwish3.0 itkwish wish8.4 wish8.3 wish8.2" - - set $itkarray - while [ ! -z "$1" ]; do |