pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH] Re: Problem compiling lang/tcl under Darwin/64-bit



I think  at least
  wip/tcl85
  wip/tk85
  graphics/graphviz

will be happy with attached patch.
( Verified with)
 NetBSD/amd64 6_BETA2 and
 Mac OS X 10.6.1
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

Index: graphics/graphviz/Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/graphics/graphviz/Makefile,v
retrieving revision 1.100
diff -u -r1.100 Makefile
--- graphics/graphviz/Makefile  14 Jun 2012 07:44:36 -0000      1.100
+++ graphics/graphviz/Makefile  11 Jul 2012 15:44:01 -0000
@@ -53,7 +53,8 @@
 REPLACE_PERL+=         config/config_perl.pl lib/gd/configure.pl \
                        tclpkg/gv/demo/modgraph.pl contrib/dotmcl.pl \
                        contrib/dirgraph/dirgraph.pl
-
+.include "../../wip/tcl85/Makefile.version"
+PLIST_SUBST+=          TCL_VERSION=${TCL_VERSION:C/.[0-9]*$//}
 .include "../../mk/bsd.prefs.mk"
 
 .include "../../mk/compiler.mk"
Index: graphics/graphviz/PLIST
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/graphics/graphviz/PLIST,v
retrieving revision 1.39
diff -u -r1.39 PLIST
--- graphics/graphviz/PLIST     23 Mar 2012 01:12:14 -0000      1.39
+++ graphics/graphviz/PLIST     11 Jul 2012 15:44:01 -0000
@@ -106,7 +106,7 @@
 lib/pkgconfig/libgvpr.pc
 lib/pkgconfig/libpathplan.pc
 lib/pkgconfig/libxdot.pc
-${PLIST.tcl}lib/tcl8.4/graphviz
+${PLIST.tcl}lib/tcl${TCL_VERSION}/graphviz
 man/man1/acyclic.1
 man/man1/bcomps.1
 man/man1/ccomps.1
Index: wip/tk85/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/tk85/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- wip/tk85/Makefile   7 Jun 2011 23:05:30 -0000       1.3
+++ wip/tk85/Makefile   11 Jul 2012 15:44:03 -0000
@@ -20,6 +20,7 @@
 BUILD_DIRS=            ${CONFIGURE_DIRS}
 
 CONFIGURE_ARGS+=       --prefix=${PREFIX}
+CONFIGURE_ARGS+=       --libdir=${PREFIX}/lib
 CONFIGURE_ARGS+=       
--with-tcl=${BUILDLINK_PREFIX.tcl}/lib/tcl${TCL_VERSION:C/.[0-9]*$//}
 
 TEST_TARGET=           test


Home | Main Index | Thread Index | Old Index