diff options
author | leeym <leeym@FreeBSD.org> | 2005-01-10 17:03:18 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2005-01-10 17:03:18 +0800 |
commit | 950606ac24e4dd7b5c27d52c5b9b00692815de51 (patch) | |
tree | a553aa5f7d7aca7767ef61e68d561cf98a419e5d /mail/ftrack | |
parent | 4aa9dca635989b4d914609faa75da9ac1eb9cc9a (diff) | |
download | freebsd-ports-gnome-950606ac24e4dd7b5c27d52c5b9b00692815de51.tar.gz freebsd-ports-gnome-950606ac24e4dd7b5c27d52c5b9b00692815de51.tar.zst freebsd-ports-gnome-950606ac24e4dd7b5c27d52c5b9b00692815de51.zip |
- update Makefile to avoid updating files in FILESDIR during building port.
PR: follow-up of 75926
Submitted by: maintainer
Diffstat (limited to 'mail/ftrack')
-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 57b1acc0dc82..006bff6acbac 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 fdd39439e652..1c225217a585 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" |