Subversion Repositories pike

Compare Revisions

Ignore whitespace Rev 60 → Rev 61

/trunk/debian/patches/05_install.pike.dpatch
2,7 → 2,7
## 05_install.pike.dpatch by <magnus@proffe.kibibyte.se>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Allow include_prefix to be separately overridden in install.pike
## DP: Allow share_prefix to be separately overridden in install.pike
 
@DPATCH@
diff -urNad pike7.8-7.8.116~/src/Makefile.in pike7.8-7.8.116/src/Makefile.in
22,7 → 22,48
fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)" \
cflags="@DYNAMIC_MODULE_FLAGS@" ldflags="" \
- $(INSTALLARGS)
+ include_prefix="$(include_prefix)" $(INSTALLARGS)
+ share_prefix="$(share_prefix)" $(INSTALLARGS)
install_interactive: pike-complete-stamp tools
@$(RUNPIKE) $(TMP_BINDIR)/install.pike --interactive \
--- a/bin/install.pike 2009-06-08 23:51:36.000000000 +0200
+++ b/bin/install.pike 2009-08-22 15:46:55.000000000 +0200
@@ -1904,6 +1904,7 @@
string exec_prefix;
string lib_prefix;
string include_prefix;
+string share_prefix;
string doc_prefix;
string man_prefix;
string cflags;
@@ -1946,6 +1947,8 @@
lib_prefix=vars->lib_prefix||(prefix+"/lib/pike/");
include_prefix =
vars->include_prefix || combine_path(prefix,"include","pike");
+ share_prefix =
+ vars->share_prefix || lib_prefix;
doc_prefix =
vars->doc_prefix || combine_path(prefix, "doc", "pike");
man_prefix=vars->man_prefix||(prefix+"/share/man/");
@@ -2128,7 +2131,7 @@
lib_prefix = combine_path(prefix, "lib");
include_prefix = combine_path(prefix,"include","pike");
make_master("lib/master.pike", "lib/master.pike.in",
- lib_prefix, include_prefix, UNDEFINED, cflags, ldflags);
+ lib_prefix, include_prefix, share_prefix, cflags, ldflags);
status1("Installing master done.");
return 0;
@@ -2853,10 +2856,10 @@
}
else
make_master(combine_path(vars->TMP_LIBDIR,"master.pike"), master_src,
- lib_prefix, include_prefix, UNDEFINED, cflags, ldflags);
+ lib_prefix, include_prefix, share_prefix, cflags, ldflags);
install_dir(vars->TMP_LIBDIR,lib_prefix,1);
- install_dir(vars->LIBDIR_SRC,lib_prefix,1);
+ install_dir(vars->LIBDIR_SRC,share_prefix,1);
install_header_files(vars->SRCDIR,include_prefix);
install_header_files(combine_path(vars->SRCDIR,"code"),
/trunk/debian/patches/00list
1,7 → 1,7
01_master.in
02_smartlink_rpath
#04_make_variables_fpic
05_install.pike
#05_install.pike
07_dynamic_module_makefile.in-libgcc
10_misplaced_MAXPATHLEN
11_pthread_stub
/trunk/debian/changelog
8,6 → 8,10
+ nettle_2.0.dpatch: Temporarily include changes made in upstream CVS
to accomodate the API changes.
* Increase Debhelper compat level to 5.
* 05_install.pike.dpatch (disabled): The passing-on of lib_prefix was
fixed upstream, so this patch now instead does that with share_prefix
and modifies install.pike to use it. The rest of the package is not
quite ready though, so the patch is disabled for now.
 
-- Magnus Holmgren <holmgren@debian.org> Sat, 22 Aug 2009 20:53:28 +0200