Bug 162535 - [patch] lang/dice: respect CC/CFLAGS
Summary: [patch] lang/dice: respect CC/CFLAGS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-13 20:50 UTC by Jan Beich
Modified: 2011-11-17 14:50 UTC (History)
0 users

See Also:


Attachments
cc.diff (869 bytes, patch)
2011-11-13 20:50 UTC, Jan Beich
no flags Details | Diff
cc.diff (816 bytes, patch)
2011-11-17 14:36 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2011-11-14 04:25:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-11-16 16:12:32 UTC
miwi        2011-11-16 16:12:24 UTC

  FreeBSD ports repository

  Modified files:
    lang/dice            Makefile 
  Log:
  - Unbreak build
  
  PR:             162535
  Submitted by:   Jan Beich <jbeich@tormail.net>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.16      +7 -2      ports/lang/dice/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2011-11-16 16:12:34 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 Jan Beich freebsd_committer freebsd_triage 2011-11-17 14:36:15 UTC
miwi@FreeBSD.org writes:

> State-Changed-From-To: open->closed
> State-Changed-By: miwi
> State-Changed-When: Wed Nov 16 16:12:34 UTC 2011
> State-Changed-Why: 
> Committed. Thanks!

Oops, I've accidentally added MAKE_ENV for `install' not for build.
This doesn't make much (if any) difference. Try

  $ unset CC
  $ echo CC=clang >>Makefile.local
  $ mv /usr/bin/cc{,.bak}
  $ make
  ===>  Building for dice-3.15_1
  cd /usr/ports/lang/dice/work/dice-rel-3.15/suplib && make && SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local X11BASE=/usr/local  MOTIFLIB="-L/usr/local/lib -lXm -lXp" LIBDIR="/usr/lib"  CC="clang" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s  -m 555"  BSD_INSTALL_LIB="install  -s  -m 444"  BSD_INSTALL_SCRIPT="install   -m 555"  BSD_INSTALL_DATA="ins tall   -m 444"  BSD_INSTALL_MAN="install   -m 444" make install
  cc -O2 -pipe  -Wall -I.. -DINTELBYTEORDER -c addhead.c
  *** Error code 1

Here is a followup patch. It also respects STRIP, fixing WITH_DEBUG.