mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
comms/aprsd: Fix build on FreeBSD current
- Fixed install to work on FreeBSD current - Fixed hardcoded path names which should be set via REINPLACE
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PORTNAME= aprsd
|
||||
PORTVERSION= 2.2.515
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= comms hamradio
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.2.5-15
|
||||
DISTNAME= aprsd-2.2.5-15
|
||||
@@ -39,7 +39,6 @@ pre-install:
|
||||
${MKDIR} ${STAGEDIR}"/var/log/aprsd"
|
||||
|
||||
post-install:
|
||||
@cd ${WRKSRC}/admin
|
||||
.for f in INIT.TNC RESTORE.TNC aprsd.conf welcome.txt user.deny
|
||||
${INSTALL_DATA} ${WRKSRC}/admin/$f ${STAGEDIR}${PREFIX}/etc/aprsd/$f.samp
|
||||
.endfor
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
const string HOMEDIR("/home/aprsd2");
|
||||
-const string CONFPATH("");
|
||||
+const string LOGPATH("/var/log/aprsd/");
|
||||
+const string CONFPATH("/usr/local/etc/aprsd/");
|
||||
+const string LOGPATH("%%LOGPATH%%");
|
||||
+const string CONFPATH("%%CONFPATH%%");
|
||||
const string CONFFILE("aprsd.conf");
|
||||
const string MAINLOG("aprsd.log");
|
||||
const string STSMLOG("thirdparty.log");
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
static RecursiveMutex pmtxLog;
|
||||
|
||||
+const string LOGPATH("/var/log/aprsd/");
|
||||
+const string LOGPATH("%%LOGPATH%%");
|
||||
|
||||
int WriteLog(const string& sp, const string& LogFile)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user