aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/memtest
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-04-08 11:12:10 +0800
committerlioux <lioux@FreeBSD.org>2004-04-08 11:12:10 +0800
commit9edee93acddaa077f11e99ddaf8827154e8246e8 (patch)
tree76249f245052ff45d5acfe53d5a7421d0b5c5996 /sysutils/memtest
parent127cb78911dc349bc3d2fb393231b3877b47ec0d (diff)
downloadfreebsd-ports-gnome-9edee93acddaa077f11e99ddaf8827154e8246e8.tar.gz
freebsd-ports-gnome-9edee93acddaa077f11e99ddaf8827154e8246e8.tar.zst
freebsd-ports-gnome-9edee93acddaa077f11e99ddaf8827154e8246e8.zip
Respect CC
PR: 65020 Submitted by: michael johnson <ahze@ahze.net>
Diffstat (limited to 'sysutils/memtest')
-rw-r--r--sysutils/memtest/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/memtest/Makefile b/sysutils/memtest/Makefile
index 30f9ad70bc9e..bd43d5fc6301 100644
--- a/sysutils/memtest/Makefile
+++ b/sysutils/memtest/Makefile
@@ -17,11 +17,15 @@ COMMENT= Utility to test for faulty memory subsystem
USE_BZIP2= yes
USE_GMAKE= yes
-USE_SIZE= yes
+USE_REINPLACE= yes
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/memtest
+post-patch:
+ @${REINPLACE_CMD} -e 's|gcc|${CC}|' \
+ ${WRKSRC}/${MAKEFILE}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1