aboutsummaryrefslogtreecommitdiffstats
path: root/misc/getopt
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-02-12 03:44:47 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-02-12 03:44:47 +0800
commite35eeda72477a9decb4a97fb61e46f39d8ba1c2a (patch)
tree84191e2841b8ec7449c679d1b9552927d8f0aea7 /misc/getopt
parentdf393f1be3f505370b111f3d6773ed2f007ee70f (diff)
downloadfreebsd-ports-gnome-e35eeda72477a9decb4a97fb61e46f39d8ba1c2a.tar.gz
freebsd-ports-gnome-e35eeda72477a9decb4a97fb61e46f39d8ba1c2a.tar.zst
freebsd-ports-gnome-e35eeda72477a9decb4a97fb61e46f39d8ba1c2a.zip
- Respect CC
PR: ports/143743 Submitted by: Rob Farmer <rfarmer@predatorlabs.net>
Diffstat (limited to 'misc/getopt')
-rw-r--r--misc/getopt/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile
index 2f8816a10303..246741dfdb0b 100644
--- a/misc/getopt/Makefile
+++ b/misc/getopt/Makefile
@@ -24,6 +24,9 @@ MAKE_ENV= LIBCGETOPT=0 LDFLAGS="${LDFLAGS}"
MAN1= getopt.1
DOCS= Changelog README
+post-patch:
+ @${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
+
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}