Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2015 21:37:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203137] textproc/sm[iu]: respect *FLAGS
Message-ID:  <bug-203137-13-K4LswkUDOw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203137-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203137-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203137

--- Comment #5 from Jan Beich <jbeich@FreeBSD.org> ---
Comment on attachment 161079
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161079
/dev/null version

/dev/null as a makefile relies on implicit rules that look like the following:

  $ env -i /usr/local/bin/gmake -p -f /dev/null
  ...
  # default
  CC = cc
  ...
  # default
  LINK.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
  ...
  %: %.c
  #  recipe to execute (built-in):
          $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@

  $ env -i __MAKE_CONF= make -dsg1 -f /dev/null foo
  CC               = cc
  CFLAGS           = -O2 -pipe ${_CPUCFLAGS} ${CFLAGS.${MACHINE_ARCH}}
  ...
  .c              : 
          ${CC} ${CFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET}
          ${CTFCONVERT_CMD}
  ...
  Wildcard expanding "foo"...SuffFindDeps (foo)
          No known suffix on foo. Using .NULL suffix
  adding suffix rules
          trying foo.c...not there
          trying foo.cc...not there
          trying foo.cpp...not there
          trying foo.cxx...not there
          trying foo.C...not there
          trying foo.F...not there
          trying foo.f...not there
          trying foo.e...not there
          trying foo.r...not there
          trying foo.sh...not there
          trying foo.y...not there
          trying foo.l...not there

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203137-13-K4LswkUDOw>