Skip to content
Snippets Groups Projects
Commit b13d3725 authored by Alexey Dokuchaev's avatar Alexey Dokuchaev
Browse files

emulators/mtools: update GNU mtools to version 4.0.43

parent 99493a39
No related branches found
No related tags found
No related merge requests found
PORTNAME= mtools PORTNAME= mtools
PORTVERSION= 4.0.26 PORTVERSION= 4.0.43
PORTREVISION= 1
CATEGORIES= emulators CATEGORIES= emulators
MASTER_SITES= GNU MASTER_SITES= GNU
...@@ -12,7 +11,7 @@ LICENSE= GPLv3 ...@@ -12,7 +11,7 @@ LICENSE= GPLv3
CONFLICTS_INSTALL= multimarkdown CONFLICTS_INSTALL= multimarkdown
USES= gmake makeinfo tar:bzip2 USES= gmake makeinfo tar:lz
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_header_malloc_h=no CONFIGURE_ENV= ac_cv_header_malloc_h=no
CONFIGURE_ARGS= --enable-xdf CONFIGURE_ARGS= --enable-xdf
...@@ -46,17 +45,10 @@ MAKE_ENV+= WITHOUT_X11=yes ...@@ -46,17 +45,10 @@ MAKE_ENV+= WITHOUT_X11=yes
.endif .endif
post-patch: post-patch:
@${REINPLACE_CMD} -e \ @${REINPLACE_CMD} -e '/LOCAL_CONF_FILE/s,/etc/default,${LOCALBASE}/etc,' \
's|^#define MT_SIZE_T size_t|#define MT_SIZE_T off_t|g' \ ${WRKSRC}/mtoolsPaths.h
${WRKSRC}/llong.h
@${REINPLACE_CMD} -e 's|/etc/mtools.conf|${PREFIX}/etc/mtools.conf|g' \
${WRKSRC}/mformat.c
@${REINPLACE_CMD} -e 's|^\(SAMPLE FILE\)$$|#\1|' \ @${REINPLACE_CMD} -e 's|^\(SAMPLE FILE\)$$|#\1|' \
${WRKSRC}/mtools.conf ${WRKSRC}/mtools.conf
.for f in mtools.5 mtools.texi
@${REINPLACE_CMD} -e 's|/usr/local/etc/|${PREFIX}/etc/|g' \
${WRKSRC}/${f}
.endfor
post-install: post-install:
${INSTALL_DATA} ${WRKSRC}/mtools.conf ${STAGEDIR}${PREFIX}/etc/mtools.conf.sample ${INSTALL_DATA} ${WRKSRC}/mtools.conf ${STAGEDIR}${PREFIX}/etc/mtools.conf.sample
......
TIMESTAMP = 1610672966 TIMESTAMP = 1679438048
SHA256 (mtools-4.0.26.tar.bz2) = 539f1c8b476a16e198d8bcb10a5799e22e69de49d854f7dbd85b64c2a45dea1a SHA256 (mtools-4.0.43.tar.lz) = 997ffe4125a19de1fd433ed63f128f7d54bc1a5915f3cdb36da6491ef917f217
SIZE (mtools-4.0.26.tar.bz2) = 420648 SIZE (mtools-4.0.43.tar.lz) = 383347
--- Makefile.in.orig 2018-12-09 19:54:34 UTC --- Makefile.in.orig 2022-10-09 09:55:19 UTC
+++ Makefile.in +++ Makefile.in
@@ -72,10 +72,13 @@ INSTALL_INFO = @INSTALL_INFO@ @@ -77,6 +77,9 @@ mcd.1 mcopy.1 mdel.1 mdeltree.1 mdir.1 mdu.1 mformat.1
.SUFFIXES: .o .c minfo.1 mkmanifest.1 mlabel.1 mmd.1 mmount.1 mmove.1 mpartition.1 \
.SUFFIXES: .o .c mrd.1 mren.1 mshortname.1 mshowfat.1 mtoolstest.1 mtools.1 mtype.1 \
mzip.1
-MAN1 = floppyd.1 floppyd_installtest.1 mattrib.1 mbadblocks.1 mcat.1 mcd.1 \
+MAN1 = mattrib.1 mbadblocks.1 mcat.1 mcd.1 \
mclasserase.1 mcopy.1 mdel.1 mdeltree.1 mdir.1 mdu.1 mformat.1 minfo.1 \
mkmanifest.1 mlabel.1 mmd.1 mmount.1 mmove.1 mpartition.1 \
mrd.1 mren.1 mshortname.1 mshowfat.1 mtoolstest.1 mtools.1 mtype.1 mzip.1
+ifndef WITHOUT_X11 +ifndef WITHOUT_X11
+MAN1 += floppyd.1 floppyd_installtest.1 +MAN1 += floppyd.1 floppyd_installtest.1
+endif +endif
MAN1EXT = 1
MAN1DIR = $(DESTDIR)$(mandir)/man${MAN1EXT}
MAN5 = mtools.5
@@ -133,7 +136,7 @@ scsi.c signal.c stream.c streamcache.c subdir.c unixdi
xdf_io.c mkmanifest.c
MAN1EXT = 1
MAN1DIR = $(DESTDIR)$(mandir)/man${MAN1EXT}
@@ -119,7 +122,7 @@ privileges.c remap.c scsi_io.c scsi.c signal.c stream.
swap.c unix2dos.s unixdir.c tty.c vfat.c mkmanifest.c \
@FLOPPYD_IO_SRC@ @XDF_IO_SRC@
-SCRIPTS = mcheck mxtar uz tgz mcomp amuFormat.sh -SCRIPTS = mcheck mxtar uz tgz mcomp amuFormat.sh
+SCRIPTS = mcheck mxtar mcomp amuFormat.sh +SCRIPTS = mcheck mxtar mcomp amuFormat.sh
LINKS=mattrib mcat mcd mclasserase mcopy mdel mdeltree mdir mdu mformat minfo \ LINKS=mattrib mcat mcd mcopy mdel mdeltree mdir mdu \
mlabel mmd mmount mmove mpartition mrd mren mtype mtoolstest mshortname \ mformat minfo mlabel mmd mmount mmove mpartition mrd mren mtype \
@@ -278,11 +281,11 @@ install-links: $(DESTDIR)$(bindir)/mtools @@ -264,11 +267,11 @@ install-links: $(DESTDIR)$(bindir)/mtools
install-scripts: $(DESTDIR)$(bindir)/mtools install-scripts: $(DESTDIR)$(bindir)/mtools
@$(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) @$(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
@for j in $(SCRIPTS) ; do \ @for j in $(SCRIPTS) ; do \
......
...@@ -6,7 +6,6 @@ bin/mbadblocks ...@@ -6,7 +6,6 @@ bin/mbadblocks
bin/mcat bin/mcat
bin/mcd bin/mcd
bin/mcheck bin/mcheck
bin/mclasserase
bin/mcomp bin/mcomp
bin/mcopy bin/mcopy
bin/mdel bin/mdel
...@@ -36,7 +35,6 @@ man/man1/mattrib.1.gz ...@@ -36,7 +35,6 @@ man/man1/mattrib.1.gz
man/man1/mbadblocks.1.gz man/man1/mbadblocks.1.gz
man/man1/mcat.1.gz man/man1/mcat.1.gz
man/man1/mcd.1.gz man/man1/mcd.1.gz
man/man1/mclasserase.1.gz
man/man1/mcopy.1.gz man/man1/mcopy.1.gz
man/man1/mdel.1.gz man/man1/mdel.1.gz
man/man1/mdeltree.1.gz man/man1/mdeltree.1.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment