From e9bb17b3921d8896c4f3bb4e219f10902a6ca0b9 Mon Sep 17 00:00:00 2001 From: leeym Date: Wed, 13 Oct 2004 01:36:07 +0000 Subject: - unbreak on 5.x PR: 72034 Submitted by: leeym Approved by: maintainer timeout --- converters/uudx/Makefile | 14 ++++++-------- 1 file 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 - -.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 +post-patch: + @${REINPLACE_CMD} -e '/sprintf()/d' ${WRKSRC}/uudx.c + +.include -- cgit v1.1