diff options
-rw-r--r-- | mail/ftrack/Makefile | 4 | ||||
-rw-r--r-- | mail/ftrack/files/patch-hpp::constant.hpp | 9 |
2 files changed, 2 insertions, 11 deletions
diff --git a/mail/ftrack/Makefile b/mail/ftrack/Makefile index 57b1acc..006bff6 100644 --- a/mail/ftrack/Makefile +++ b/mail/ftrack/Makefile @@ -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; \ diff --git a/mail/ftrack/files/patch-hpp::constant.hpp b/mail/ftrack/files/patch-hpp::constant.hpp index fdd3943..1c22521 100644 --- a/mail/ftrack/files/patch-hpp::constant.hpp +++ b/mail/ftrack/files/patch-hpp::constant.hpp @@ -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" |