freebsd-ports/sysutils/sformat/files/patch-RULES::rules.cnf
Alexander Leidinger 6d00c62b3d - Fix yet another bug that might be used for a root exploit. As with the last
bug you are only vulnerable if you locally set the sformat binary suid root.
- Respect CC already at the configure-stage of sformat else we end up running
  configure with GCC and compiling with whatever CC was set to.

Submitted by:	maintainer
2003-06-04 18:40:33 +00:00

12 lines
321 B
INI

--- RULES/rules.cnf.orig Sun Jan 27 16:11:31 2002
+++ RULES/rules.cnf Sun Jun 1 18:58:37 2003
@@ -33,8 +33,7 @@
#
# Hack until the <mach>-<os>-*cc.rul files are updated
#
-_HCCCOM= $(OARCH:%-gcc=gcc)
-HCCCOM= $(_HCCCOM:%-cc=cc)
+HCCCOM= $(C_ARCH)
_CCCOM= $(_UNIQ)$(CCCOM)
__CCCOM= $(_CCCOM:$(_UNIQ)=$(HCCCOM))