mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- update Makefile to avoid updating files in FILESDIR during building port.
PR: follow-up of 75926 Submitted by: maintainer
This commit is contained in:
parent
7f462571a7
commit
92d0d120eb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126034
2 changed files with 2 additions and 11 deletions
|
@ -8,6 +8,7 @@
|
|||
PORTNAME= ftrack
|
||||
PORTVERSION= 3.1
|
||||
PORTEPOCH= 1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://ufm.kgb.ru/files/
|
||||
DISTNAME= ftr${PORTVERSION:S/.//g}sr
|
||||
|
@ -32,8 +33,7 @@ pre-patch:
|
|||
${REINPLACE_CMD} -e "s@-I../../hpp -I../../.. -O3@-Ihpp -I${LOCALBASE}/include ${CFLAGS}@g; \
|
||||
s@../../src/@src/@g; s@g\+\+@${CC}@g; \
|
||||
s@-L../../../smapi -lsmapibsd@-L${LOCALBASE}/lib -lsmapi@g" ${WRKSRC}/MakeFiles/FreeBSD/Makefile
|
||||
${REINPLACE_CMD} -e "s@PREFIXGOESHERE@${PREFIX}@g" ${FILESDIR}/patch-hpp::constant.hpp
|
||||
${RM} ${FILESDIR}/patch-hpp::constant.hpp.bak
|
||||
${REINPLACE_CMD} -e "s@ftrack.cfg@${PREFIX}/etc/ftrack/ftrack.cfg@g" ${WRKSRC}/hpp/constant.hpp
|
||||
.for DIR in MakeFiles/FreeBSD src hpp doc/eng samples/tpl
|
||||
for FILE in ${WRKSRC}/${DIR}/*; do \
|
||||
${TR} -d '\015' < $${FILE} > $${FILE}.new; \
|
||||
|
|
|
@ -9,12 +9,3 @@
|
|||
# elif defined(sun)
|
||||
# define OsType "/SUN"
|
||||
# elif defined(_AIX)
|
||||
@@ -38,7 +38,7 @@
|
||||
#define FTrackProductLo 0xff
|
||||
#define FTrackProductHi 0x0c
|
||||
#define Copyright "(C) 1998-2002 Fyodor Ustinov (2:5020/79)"
|
||||
-#define DefaultConfig "ftrack.cfg"
|
||||
+#define DefaultConfig "/usr/local/etc/ftrack/ftrack.cfg"
|
||||
|
||||
#ifdef UNIX
|
||||
#define MsgExtension ".msg"
|
||||
|
|
Loading…
Add table
Reference in a new issue