1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/net-mgmt/pnp/files/patch-scripts-Makefile.in
Guido Falsi fe6e4612ca - Update to 0.6.18
- This version makes it work again with php 5.4
- Update WWW line in pkg-descr
- While I'm here fix some portlint warnings

PR:             ports/170565
Submitted by:   Guido Falsi <madpilot@FreeBSD.org>
Approved by:    maintainer timeout
Approved by:    tabthorpe (mentor)
2012-08-13 19:56:30 +00:00

25 lines
1.2 KiB
Plaintext

--- scripts/Makefile.in.orig 2012-05-25 11:58:21.680778254 +0200
+++ scripts/Makefile.in 2012-05-25 12:05:19.843873179 +0200
@@ -25,7 +25,7 @@
devclean: distclean
install-init:
- $(INSTALL) -m 755 $(INIT_OPTS) -d $(DESTDIR)$(INIT_DIR)
+ [ -d "$(DESTDIR)$(INIT_DIR)" ] || $(INSTALL) -m 755 $(INIT_OPTS) -d $(DESTDIR)$(INIT_DIR)
$(INSTALL) -m 755 $(INIT_OPTS) rc.npcd $(DESTDIR)$(INIT_DIR)/npcd
$(INSTALL) -m 755 $(INIT_OPTS) rc.pnp_gearman_worker $(DESTDIR)$(INIT_DIR)/pnp_gearman_worker
@@ -39,9 +39,9 @@
$(INSTALL) -m 755 $(INSTALL_OPTS) rrd_convert.pl $(DESTDIR)$(LIBEXECDIR)
install:
- $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(PERFDATADIR)
- $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(LIBEXECDIR)
- $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)/stats
+ [ -d "$(DESTDIR)$(PERFDATADIR)" ] || $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(PERFDATADIR)
+ [ -d "$(DESTDIR)$(LIBEXECDIR)" ] || $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(LIBEXECDIR)
+ [ -d "$(DESTDIR)$(LOGDIR)"/stats ] || $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)/stats
$(MAKE) install-processperfdata
$(MAKE) install-plugins
$(MAKE) install-rrdconvert