ports/devel/gccmakedep

Julian H. Stacey jhs at berklix.com
Mon May 18 11:58:27 UTC 2015


x11 at freebsd.org is MAINTAINER= for this ...

with current src & ports:
/usr/ports/devel/gccmakedep cat ../../.ctm*
ports-cur 10906
11.0-CURRENT /dev/pts/6 jhs 11 lapr/usr/ports/devel/gccmakedep cat ../../.svn*
386470
11.0-CURRENT /dev/pts/6 jhs 12 lapr/usr/ports/devel/gccmakedep 

cd /usr/ports/devel/gccmakedep ; make
===>  Applying FreeBSD patches for gccmakedep-1.0.3
File to patch: ^D
No file found--skip this patch? [n] y
1 out of 1 hunks ignored--saving rejects to Oops.rej
=> Patch patch-gccmdep.cpp failed to apply cleanly.

It should not patch
	gccmdep.cpp
but patch 
	gccmakedep.in

The patch content is also obsolete, there is no
	CC=CCCMD
but is a
	CC="@CC@"

I append a new patch file, which builds.
BUT I have Not bothered to analyse what what CC is supposed to be doing, 
sufficient for me that it no longer breaks.
Others should please review this.

---------
*** gccmakedep.in.orig	Wed May 21 20:20:00 2014
--- gccmakedep.in	Mon May 18 13:49:16 2015
***************
*** 9,15 ****
  #
  
  TMP=mdep$$.tmp
! CC="@CC@"
  RM="rm -f"
  LN="ln"
  MV="mv"
--- 9,16 ----
  #
  
  TMP=mdep$$.tmp
! # CC="@CC@"
! CC=${CC:-CCCMD}
  RM="rm -f"
  LN="ln"
  MV="mv"
--------

Cheers,
Julian
--
Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com
	Indent previous with "> ".	Reply Below as a play script.
	Send plain text, Not quoted-printable, HTML, or base64.


More information about the freebsd-x11 mailing list