aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-03-09 00:47:09 +0800
committerjedgar <jedgar@FreeBSD.org>2000-03-09 00:47:09 +0800
commit6f32ba92a3758352f1361914ed80a58bfaa26b9e (patch)
tree82bfc5ae2398fb64102dc8047003f1980dd6fc15
parent3f671a15d452955c6fb4ed491c5a81ecefb58128 (diff)
downloadfreebsd-ports-gnome-6f32ba92a3758352f1361914ed80a58bfaa26b9e.tar.gz
freebsd-ports-gnome-6f32ba92a3758352f1361914ed80a58bfaa26b9e.tar.zst
freebsd-ports-gnome-6f32ba92a3758352f1361914ed80a58bfaa26b9e.zip
* Fix compilation under 2.2.x
* Fix a wrong default directory PR: 17201 Submitted by: Maintainer
-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 f26c8511e20e..13c8f68f91be 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 000000000000..b3780bda825f
--- /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 285eea1383c7..c7b49bfee10e 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