diff options
-rw-r--r-- | textproc/smu/Makefile | 3 | ||||
-rw-r--r-- | www/multisort/files/patch-Makefile | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/textproc/smu/Makefile b/textproc/smu/Makefile index a2a0b0c38845..756b8599fdd2 100644 --- a/textproc/smu/Makefile +++ b/textproc/smu/Makefile @@ -20,6 +20,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE MAN1= smu.1 PLIST_FILES= bin/smu +post-patch: + @${REINPLACE_CMD} -e 's|cc|${CC}|g' ${WRKSRC}/config.mk + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/smu ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/smu.1 ${MAN1PREFIX}/man/man1 diff --git a/www/multisort/files/patch-Makefile b/www/multisort/files/patch-Makefile index a5bc0682c10d..991fd9abf4e5 100644 --- a/www/multisort/files/patch-Makefile +++ b/www/multisort/files/patch-Makefile @@ -1,12 +1,13 @@ ---- Makefile.orig 1999-10-28 21:04:24.000000000 +0200 -+++ Makefile 2008-10-07 18:48:41.000000000 +0200 +--- ./Makefile.orig 1999-10-28 21:04:24.000000000 +0200 ++++ ./Makefile 2011-06-21 21:30:39.000000000 +0200 @@ -1,9 +1,10 @@ -# -# $Id: Makefile,v 1.1 1999/01/14 19:05:35 xach Exp $ -# - +-CC = gcc +PREFIX?= /usr/local - CC = gcc ++CC?= gcc CFLAGS = -Wall -g -O2 -multisort: multisort.c |