Revision
117615
Author
cal@macports.org
Date
2014-03-05 12:40:52 -0800 (Wed, 05 Mar 2014)

Log Message

machista1.0: support out-of-source build, #28001

(more of these changes to come, but not all of them can be committed separately from other changes in my queue)

Modified Paths

Diff

Modified: trunk/base/src/machista1.0/Makefile.in (117614 => 117615)


--- trunk/base/src/machista1.0/Makefile.in	2014-03-05 20:34:36 UTC (rev 117614)
+++ trunk/base/src/machista1.0/Makefile.in	2014-03-05 20:40:52 UTC (rev 117615)
@@ -1,3 +1,6 @@
+srcdir = @srcdir@
+VPATH  = @srcdir@
+
 OBJS= 		libmachista.o hashmap.o machista_wrap.o
 SHLIB_NAME= machista${SHLIB_SUFFIX}
 INSTALLDIR=	${DESTDIR}${datadir}/macports/Tcl/machista1.0
@@ -13,7 +16,7 @@
 TESTS = ./tests/libmachista-test
 
 include ../../Mk/macports.autoconf.mk
-include ../../Mk/macports.tea.mk
+include $(srcdir)/../../Mk/macports.tea.mk
 
 CFLAGS+= -fPIC