aboutsummaryrefslogtreecommitdiffstats
path: root/converters/uudx
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-10-13 09:36:07 +0800
committerleeym <leeym@FreeBSD.org>2004-10-13 09:36:07 +0800
commite9bb17b3921d8896c4f3bb4e219f10902a6ca0b9 (patch)
tree9755c9b97fc98b6f4d50c1a863ff231ad781fbfd /converters/uudx
parentea6a10f9c8c0cd16f393f1a3ecc1624fd7d2a8f6 (diff)
downloadfreebsd-ports-graphics-e9bb17b3921d8896c4f3bb4e219f10902a6ca0b9.tar.gz
freebsd-ports-graphics-e9bb17b3921d8896c4f3bb4e219f10902a6ca0b9.tar.zst
freebsd-ports-graphics-e9bb17b3921d8896c4f3bb4e219f10902a6ca0b9.zip
- unbreak on 5.x
PR: 72034 Submitted by: leeym Approved by: maintainer timeout
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 cbba95aeb33..d7090225be5 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>