mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Fix build on systems without Perl
- Fix rc script, it failed to background the daemon process PR: ports/83067 Submitted by: Vivek Khera <vivek@khera.org> (maintainer)
This commit is contained in:
parent
f3f59e0af6
commit
d565f90a4b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138708
6 changed files with 42 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= slony1
|
||||
PORTVERSION= 1.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/
|
||||
|
||||
|
|
19
databases/slony1/files/patch-tools-altperl-Makefile
Normal file
19
databases/slony1/files/patch-tools-altperl-Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- tools/altperl/Makefile.dist Wed Jul 6 11:31:10 2005
|
||||
+++ tools/altperl/Makefile Wed Jul 6 11:31:45 2005
|
||||
@@ -13,6 +13,8 @@
|
||||
DISTFILES = Makefile ToDo README $(wildcard *.pl) $(wildcard *.pm) slon_tools.conf-sample
|
||||
|
||||
all:
|
||||
+ifdef toolsbin
|
||||
+
|
||||
ifndef PERL
|
||||
@echo "The altperl tools require that Perl be installed."
|
||||
exit 1;
|
||||
@@ -31,6 +33,7 @@
|
||||
$$file > $$tmpname; \
|
||||
chmod 755 $$tmpname; \
|
||||
done
|
||||
+endif
|
||||
|
||||
install: all installdirs
|
||||
ifndef toolsbin
|
|
@ -20,7 +20,7 @@ rcvar=`set_rcvar`
|
|||
|
||||
pidfile="/var/run/$name.pid"
|
||||
command="%%PREFIX%%/bin/slon"
|
||||
command_args="-f %%PREFIX%%/etc/$name.conf -p $pidfile"
|
||||
command_args="-f %%PREFIX%%/etc/$name.conf -p $pidfile &"
|
||||
required_files="%%PREFIX%%/etc/$name.conf"
|
||||
|
||||
# read configuration and set defaults
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= slony1
|
||||
PORTVERSION= 1.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/
|
||||
|
||||
|
|
19
databases/slony1v2/files/patch-tools-altperl-Makefile
Normal file
19
databases/slony1v2/files/patch-tools-altperl-Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- tools/altperl/Makefile.dist Wed Jul 6 11:31:10 2005
|
||||
+++ tools/altperl/Makefile Wed Jul 6 11:31:45 2005
|
||||
@@ -13,6 +13,8 @@
|
||||
DISTFILES = Makefile ToDo README $(wildcard *.pl) $(wildcard *.pm) slon_tools.conf-sample
|
||||
|
||||
all:
|
||||
+ifdef toolsbin
|
||||
+
|
||||
ifndef PERL
|
||||
@echo "The altperl tools require that Perl be installed."
|
||||
exit 1;
|
||||
@@ -31,6 +33,7 @@
|
||||
$$file > $$tmpname; \
|
||||
chmod 755 $$tmpname; \
|
||||
done
|
||||
+endif
|
||||
|
||||
install: all installdirs
|
||||
ifndef toolsbin
|
|
@ -20,7 +20,7 @@ rcvar=`set_rcvar`
|
|||
|
||||
pidfile="/var/run/$name.pid"
|
||||
command="%%PREFIX%%/bin/slon"
|
||||
command_args="-f %%PREFIX%%/etc/$name.conf -p $pidfile"
|
||||
command_args="-f %%PREFIX%%/etc/$name.conf -p $pidfile &"
|
||||
required_files="%%PREFIX%%/etc/$name.conf"
|
||||
|
||||
# read configuration and set defaults
|
||||
|
|
Loading…
Add table
Reference in a new issue