aboutsummaryrefslogtreecommitdiff
path: root/converters/uudx
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-10-13 01:36:07 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-10-13 01:36:07 +0000
commitd8509bee80513acbe639ad4e06ded26123fbdb44 (patch)
tree527440c0032654f0bb17843a0d7ec9caa5599280 /converters/uudx
parentee1253831db97939e3512f376dc8c00c78fc5778 (diff)
downloadports-d8509bee80513acbe639ad4e06ded26123fbdb44.tar.gz
ports-d8509bee80513acbe639ad4e06ded26123fbdb44.zip
Notes
Diffstat (limited to 'converters/uudx')
-rw-r--r--converters/uudx/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/converters/uudx/Makefile b/converters/uudx/Makefile
index cbba95aeb33c..d7090225be50 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>