summaryrefslogtreecommitdiffstats
path: root/news/fidogate
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-03-08 16:47:09 +0000
committerjedgar <jedgar@FreeBSD.org>2000-03-08 16:47:09 +0000
commit6f32ba92a3758352f1361914ed80a58bfaa26b9e (patch)
tree82bfc5ae2398fb64102dc8047003f1980dd6fc15 /news/fidogate
parent3f671a15d452955c6fb4ed491c5a81ecefb58128 (diff)
downloadFreeBSD-ports-6f32ba92a3758352f1361914ed80a58bfaa26b9e.zip
FreeBSD-ports-6f32ba92a3758352f1361914ed80a58bfaa26b9e.tar.gz
* Fix compilation under 2.2.x
* Fix a wrong default directory PR: 17201 Submitted by: Maintainer
Diffstat (limited to 'news/fidogate')
-rw-r--r--news/fidogate/Makefile8
-rw-r--r--news/fidogate/files/extra-patch-perl11
-rw-r--r--news/fidogate/files/patch-aa2
3 files changed, 19 insertions, 2 deletions
diff --git a/news/fidogate/Makefile b/news/fidogate/Makefile
index f26c851..13c8f68 100644
--- a/news/fidogate/Makefile
+++ b/news/fidogate/Makefile
@@ -26,6 +26,12 @@ FORBIDDEN= indefinite hang
USE_GMAKE= yes
USE_PERL5= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 300000
+EXTRA_PATCHES+= ${FILESDIR}/patch-perl
+.endif
+
pre-configure:
@${MV} ${WRKSRC}/config.make ${WRKSRC}/config.make.sed
@${SED} -e 's/\$${PREFIX}/${PREFIX:S/\//\\\//g}/g' \
@@ -63,4 +69,4 @@ post-install:
(cd ${PREFIX}/share/examples/fidogate; tar xf -)
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/news/fidogate/files/extra-patch-perl b/news/fidogate/files/extra-patch-perl
new file mode 100644
index 0000000..b3780bd
--- /dev/null
+++ b/news/fidogate/files/extra-patch-perl
@@ -0,0 +1,11 @@
+--- config.make.orig Fri Jul 30 23:29:26 1999
++++ config.make Fri Jul 30 23:30:56 1999
+@@ -141,7 +141,7 @@
+
+
+ # The perl interpreter used by subst.pl
+-PERL = /usr/bin/perl
++PERL = /usr/local/bin/perl
+
+ # Directories for installing documentation, not used by subst.pl
+ INFODIR = /usr/local/share/doc/fidogate/info
diff --git a/news/fidogate/files/patch-aa b/news/fidogate/files/patch-aa
index 285eea1..c7b49bf 100644
--- a/news/fidogate/files/patch-aa
+++ b/news/fidogate/files/patch-aa
@@ -15,7 +15,7 @@
+DEFAULT_V_LOCKDIR = /var/spool/fidogate/lock
DEFAULT_V_SPOOLDIR = /var/spool/fidogate
-DEFAULT_V_BTBASEDIR = /var/spool/bt
-+DEFAULT_V_BTBASEDIR = /var/spool/fidogate/out
++DEFAULT_V_BTBASEDIR = /var/spool/fidogate/bt
DEFAULT_V_INBOUND = $(DEFAULT_V_BTBASEDIR)/in
DEFAULT_V_PINBOUND = $(DEFAULT_V_BTBASEDIR)/pin
DEFAULT_V_UUINBOUND = $(DEFAULT_V_BTBASEDIR)/uuin
OpenPOWER on IntegriCloud