openbsd-ports/www/dillo/patches/patch-Makefile_in
benoit 5ab72aa347 - update dillo to 2.2
- update patches
- regen PLIST

This update fixes security vulnerability.
Detailed information: http://secunia.com/advisories/38569/

ok jasper@
2010-03-01 14:53:31 +00:00

22 lines
823 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.6 2010/03/01 14:53:34 benoit Exp $
--- Makefile.in.orig Thu Feb 11 11:20:01 2010
+++ Makefile.in Tue Feb 23 10:28:08 2010
@@ -302,7 +302,7 @@
-rm -f config.h stamp-h1
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
- test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
+ $(mkdir_p) $(PREFIX)/share/examples/dillo/
@list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
@@ -310,7 +310,7 @@
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
+ $(INSTALL_DATA) $$files "$(PREFIX)/share/examples/dillo/"; \
done
uninstall-sysconfDATA: