emulators/mtools: update GNU mtools to version 4.0.43
Via: https://www.linux.org.ru/news/gnu/17168036
This commit is contained in:
parent
99493a3985
commit
b13d37256e
4 changed files with 21 additions and 36 deletions
|
@ -1,6 +1,5 @@
|
|||
PORTNAME= mtools
|
||||
PORTVERSION= 4.0.26
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 4.0.43
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= GNU
|
||||
|
||||
|
@ -12,7 +11,7 @@ LICENSE= GPLv3
|
|||
|
||||
CONFLICTS_INSTALL= multimarkdown
|
||||
|
||||
USES= gmake makeinfo tar:bzip2
|
||||
USES= gmake makeinfo tar:lz
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= ac_cv_header_malloc_h=no
|
||||
CONFIGURE_ARGS= --enable-xdf
|
||||
|
@ -46,17 +45,10 @@ MAKE_ENV+= WITHOUT_X11=yes
|
|||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|^#define MT_SIZE_T size_t|#define MT_SIZE_T off_t|g' \
|
||||
${WRKSRC}/llong.h
|
||||
@${REINPLACE_CMD} -e 's|/etc/mtools.conf|${PREFIX}/etc/mtools.conf|g' \
|
||||
${WRKSRC}/mformat.c
|
||||
@${REINPLACE_CMD} -e '/LOCAL_CONF_FILE/s,/etc/default,${LOCALBASE}/etc,' \
|
||||
${WRKSRC}/mtoolsPaths.h
|
||||
@${REINPLACE_CMD} -e 's|^\(SAMPLE FILE\)$$|#\1|' \
|
||||
${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:
|
||||
${INSTALL_DATA} ${WRKSRC}/mtools.conf ${STAGEDIR}${PREFIX}/etc/mtools.conf.sample
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1610672966
|
||||
SHA256 (mtools-4.0.26.tar.bz2) = 539f1c8b476a16e198d8bcb10a5799e22e69de49d854f7dbd85b64c2a45dea1a
|
||||
SIZE (mtools-4.0.26.tar.bz2) = 420648
|
||||
TIMESTAMP = 1679438048
|
||||
SHA256 (mtools-4.0.43.tar.lz) = 997ffe4125a19de1fd433ed63f128f7d54bc1a5915f3cdb36da6491ef917f217
|
||||
SIZE (mtools-4.0.43.tar.lz) = 383347
|
||||
|
|
|
@ -1,30 +1,25 @@
|
|||
--- Makefile.in.orig 2018-12-09 19:54:34 UTC
|
||||
--- Makefile.in.orig 2022-10-09 09:55:19 UTC
|
||||
+++ Makefile.in
|
||||
@@ -72,10 +72,13 @@ INSTALL_INFO = @INSTALL_INFO@
|
||||
.SUFFIXES: .o .c
|
||||
.SUFFIXES: .o .c
|
||||
|
||||
-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
|
||||
@@ -77,6 +77,9 @@ mcd.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
|
||||
+MAN1 += floppyd.1 floppyd_installtest.1
|
||||
+MAN1 += floppyd.1 floppyd_installtest.1
|
||||
+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 mcomp amuFormat.sh
|
||||
|
||||
LINKS=mattrib mcat mcd mclasserase mcopy mdel mdeltree mdir mdu mformat minfo \
|
||||
mlabel mmd mmount mmove mpartition mrd mren mtype mtoolstest mshortname \
|
||||
@@ -278,11 +281,11 @@ install-links: $(DESTDIR)$(bindir)/mtools
|
||||
LINKS=mattrib mcat mcd mcopy mdel mdeltree mdir mdu \
|
||||
mformat minfo mlabel mmd mmount mmove mpartition mrd mren mtype \
|
||||
@@ -264,11 +267,11 @@ install-links: $(DESTDIR)$(bindir)/mtools
|
||||
install-scripts: $(DESTDIR)$(bindir)/mtools
|
||||
@$(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
|
||||
@for j in $(SCRIPTS) ; do \
|
||||
|
|
|
@ -6,7 +6,6 @@ bin/mbadblocks
|
|||
bin/mcat
|
||||
bin/mcd
|
||||
bin/mcheck
|
||||
bin/mclasserase
|
||||
bin/mcomp
|
||||
bin/mcopy
|
||||
bin/mdel
|
||||
|
@ -36,7 +35,6 @@ man/man1/mattrib.1.gz
|
|||
man/man1/mbadblocks.1.gz
|
||||
man/man1/mcat.1.gz
|
||||
man/man1/mcd.1.gz
|
||||
man/man1/mclasserase.1.gz
|
||||
man/man1/mcopy.1.gz
|
||||
man/man1/mdel.1.gz
|
||||
man/man1/mdeltree.1.gz
|
||||
|
|
Loading…
Reference in a new issue