1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/comms/hamlib/files/patch-bindings_Makefile.in
Diane Bruce 1bef372031 - update to 1.2.6.1
- make objformat obsolete
- configure.ac patch no longer needed as I fixed it upstream

Pointy hat to: kris
Approved by: ehaupt (mentor)
2007-02-25 02:39:38 +00:00

80 lines
2.4 KiB
Plaintext

--- bindings/Makefile.in.orig Thu Feb 22 14:24:58 2007
+++ bindings/Makefile.in Thu Feb 22 14:24:59 2007
@@ -273,7 +273,7 @@
prefix = @prefix@
program_transform_name = @program_transform_name@
pyexecdir = @pyexecdir@
-pythondir = $(prefix)/lib/python
+pythondir = @pyexecdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
subdirs = @subdirs@
@@ -286,13 +286,13 @@
##########################################
# Tcl binding
tcl_ltlib = hamlibtcl.la
-tcldir = $(prefix)/lib/tcl
+tcldir = $(TCL_BIN_DIR)
PKG_VER = 1.0
DLL = hamlibtcl-$(PKG_VER)@TCL_SHLIB_SUFFIX@
nodist_hamlibtcl_la_SOURCES = hamlibtcl_wrap.c
hamlibtcl_la_LDFLAGS = -no-undefined -module -release $(PKG_VER) -avoid-version @TCL_LIB_SPEC@
hamlibtcl_la_LIBADD = $(top_builddir)/src/libhamlib.la
-hamlibtcl_ladir = $(tcldir)
+hamlibtcl_ladir = $(tcldir)/hamlib
hamlibtcl_la_DATA = pkgIndex.tcl
##########################################
@@ -305,7 +305,8 @@
python_PYTHON = Hamlib.py
##########################################
-lib_LTLIBRARIES = $(tcl_ltlib) $(python_ltlib)
+#lib_LTLIBRARIES = $(tcl_ltlib) $(python_ltlib)
+lib_LTLIBRARIES = @BINDING_LIB_TARGETS@
EXTRA_DIST = hamlib.swg ignore.swg rig.swg rotator.swg \
Makefile.PL perltest.pl tcltest.tcl pytest.py
@@ -424,6 +425,7 @@
-rm -f libtool
uninstall-info-am:
install-pythonPYTHON: $(python_PYTHON)
+install-py:
@$(NORMAL_INSTALL)
test -z "$(pythondir)" || $(mkdir_p) "$(DESTDIR)$(pythondir)"
@list='$(python_PYTHON)'; dlist=''; for p in $$list; do\
@@ -452,6 +454,7 @@
rm -f "$(DESTDIR)$(pythondir)/$${f}o"; \
done
install-hamlibtcl_laDATA: $(hamlibtcl_la_DATA)
+install-tcl: install-libLTLIBRARIES
@$(NORMAL_INSTALL)
test -z "$(hamlibtcl_ladir)" || $(mkdir_p) "$(DESTDIR)$(hamlibtcl_ladir)"
@list='$(hamlibtcl_la_DATA)'; for p in $$list; do \
@@ -554,7 +557,8 @@
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: $(BUILT_SOURCES)
- $(MAKE) $(AM_MAKEFLAGS) install-am
+# $(MAKE) $(AM_MAKEFLAGS) install-am
+ $(MAKE) $(AM_MAKEFLAGS) $(BINDING_INSTALL_EXEC)
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
@@ -700,7 +704,6 @@
check-tcl: all-tcl
TCLLIBPATH=$(builddir)/.libs $(srcdir)/tcltest.tcl || echo "Tcl test failed" 1>&2
-install-tcl:
clean-tcl:
distclean-tcl: clean-tcl
uninstall-tcl:
@@ -715,7 +718,6 @@
check-py: all-py
$(srcdir)/pytest.py || echo "Python test failed" 1>&2
-install-py:
clean-py:
distclean-py:
uninstall-py: