From 982257a820bb49e0a652e104b4c287dae48c5299 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Fri, 21 Nov 2003 12:31:04 +0000 Subject: Respect CFLAGS, should fix build on alpha --- ftp/greed/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ftp') diff --git a/ftp/greed/Makefile b/ftp/greed/Makefile index e26453f9a4a3..e6595183cd8d 100644 --- a/ftp/greed/Makefile +++ b/ftp/greed/Makefile @@ -16,10 +16,15 @@ COMMENT= A utility for downloading files with resume capabilities ALL_TARGET= freebsd WRKSRC= ${WRKDIR}/greed.81p +USE_REINPLACE= yes MANCOMPRESSED= yes MAN1= greed.1 +post-patch: + ${REINPLACE_CMD} -e "s,-funroll-all-loops -ffast-math,${CFLAGS}," \ + ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/greed ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/greed.1.gz ${PREFIX}/man/man1 -- cgit v1.2.3