From 499c0113f72316d5f91dc3f78ea548ed0678c513 Mon Sep 17 00:00:00 2001 From: "Chris D. Faulhaber" Date: Wed, 8 Mar 2000 16:47:09 +0000 Subject: * Fix compilation under 2.2.x * Fix a wrong default directory PR: 17201 Submitted by: Maintainer --- news/fidogate/Makefile | 8 +++++++- news/fidogate/files/extra-patch-perl | 11 +++++++++++ news/fidogate/files/patch-aa | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 news/fidogate/files/extra-patch-perl (limited to 'news') 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 + +.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 +.include 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 -- cgit v1.2.3