diff options
author | Steven Kreuzer <skreuzer@FreeBSD.org> | 2009-04-07 17:28:52 +0000 |
---|---|---|
committer | Steven Kreuzer <skreuzer@FreeBSD.org> | 2009-04-07 17:28:52 +0000 |
commit | ef029c2de009bcbdc10cc18e5a66febce43d9884 (patch) | |
tree | 0613df46ca79527ca831cb9c53b9a3c349cbebfb /emulators/mtools | |
parent | 7ce1eef19aaaad5e36fc3a4df4873532b96032b2 (diff) |
Notes
Diffstat (limited to 'emulators/mtools')
-rw-r--r-- | emulators/mtools/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile index 41b129f8bccd..a157c3e410c1 100644 --- a/emulators/mtools/Makefile +++ b/emulators/mtools/Makefile @@ -7,6 +7,7 @@ PORTNAME= mtools PORTVERSION= 4.0.10 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= mtools @@ -49,6 +50,9 @@ MAN1+= floppyd.1 floppyd_installtest.1 .endif post-patch: + @${REINPLACE_CMD} -e \ + 's|^#define MT_SIZE_T size_t|#define MT_SIZE_T off_t|g' \ + ${WRKSRC}/llong.h .for file in mformat.c @${REINPLACE_CMD} -e 's|/etc/mtools.conf|${PREFIX}/etc/mtools.conf|g' \ ${WRKSRC}/${file} |