Use unversioned Tcl/Tk dependencies
authorStephane Glondu <steph@glondu.net>
Fri, 8 Nov 2013 08:39:44 +0000 (09:39 +0100)
committerStephane Glondu <steph@glondu.net>
Fri, 8 Nov 2013 10:06:42 +0000 (11:06 +0100)
debian/control
debian/rules

index 840424a67bc4f8d92ad6da0cea3c8318e6d738e4..d5cea5f130de7b2f8b30edcddadd8339bba13701 100644 (file)
@@ -13,8 +13,8 @@ Build-Depends:
  quilt,
  autotools-dev,
  binutils-dev,
- tcl8.5-dev,
- tk8.5-dev,
+ tcl-dev,
+ tk-dev,
  libncurses5-dev,
  bzip2,
  dh-ocaml (>= 1.0.0~)
@@ -131,8 +131,8 @@ Depends:
 Provides:
  ${ocaml:Provides}
 Suggests:
- tcl8.5-dev,
- tk8.5-dev
+ tcl-dev,
+ tk-dev
 Replaces: ocaml-nox (<< 3.11.0-2)
 Description: ML language implementation with a class-based object system
  Objective Caml (OCaml) is an implementation of the ML language, based on
index 3940b254659cbe208a5d7886f593cb27a57a37fd..513a27322b7a7df3dd08e10edf495ac0c8813662 100755 (executable)
@@ -65,8 +65,8 @@ CONFIGURE_OPTS := \
   -libdir $(DEB_TEST_BUILD_PREFIX)$(OCAML_STDLIB_DIR) \
   -x11lib "$(shell pkg-config --variable=libdir x11)" \
   -mandir $(DEB_TEST_BUILD_PREFIX)/usr/share/man \
-  -tkdefs "-I/usr/include/tcl8.5" \
-  -tklibs "-L/usr/lib -ltk8.5 -ltcl8.5"
+  -tkdefs "-I/usr/include/tcl" \
+  -tklibs "-L/usr/lib -ltk -ltcl"
 
 CONFIGURE_SED := \
   -e "/LIBBFD_LINK/s%-lbfd%-Wl,-Bstatic -lbfd -Wl,-Bdynamic%" \