summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--converters/uudx/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/converters/uudx/Makefile b/converters/uudx/Makefile
index cbba95a..d709022 100644
--- a/converters/uudx/Makefile
+++ b/converters/uudx/Makefile
@@ -9,7 +9,7 @@ PORTNAME= uudx
PORTVERSION= 2.99
CATEGORIES= converters
MASTER_SITES= ftp://ftp.vector.co.jp/pack/dos/util/bin/conv/
-DISTNAME= uudx_299
+DISTNAME= ${PORTNAME}_${PORTVERSION:S/.//}
EXTRACT_SUFX= .lzh
MAINTAINER= rewsirow@ff.iij4u.or.jp
@@ -26,15 +26,13 @@ NO_WRKSUBDIR= yes
MANLANG= ja
MAN1= uudx.1
PLIST_FILES= bin/uudx
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
+USE_REINPLACE= yes
pre-patch:
@${ECHO_MSG} "===> Installing custom Makefile for ${DISTNAME}"
@(${CP} ${FILESDIR}/Makefile ${WRKSRC})
-.include <bsd.port.post.mk>
+post-patch:
+ @${REINPLACE_CMD} -e '/sprintf()/d' ${WRKSRC}/uudx.c
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud