Bug 160800 - Build devel/libdispatch with blocks support fails due to missing clang
Summary: Build devel/libdispatch with blocks support fails due to missing clang
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: Stanislav Sedov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-18 12:50 UTC by Oleksii
Modified: 2011-09-27 21:50 UTC (History)
0 users

See Also:


Attachments
file.diff (886 bytes, patch)
2011-09-18 12:50 UTC, Oleksii
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksii 2011-09-18 12:50:13 UTC
The build of devel/libdispatch that was configured with blocks support fails because the configure script is unable to find the clang executable.

Fix: The configure script looks for /usr/local/clang because the Makefile says so:

CONFIGURE_ENV+=   CC="${LOCALBASE}/clang"

However, LOCALBASE points to /usr/local only and apparently 'bin' is missing.

The attached patch fixes this and in addition to that sets the CPPFLAGS to contain ${LOCALBASE}/include so that Block_private.h and Block.h headers are visible during the build.

Patch attached with submission follows:
How-To-Repeat: # cd /usr/ports/devel/libdispatch
# make
Comment 1 Edwin Groothuis freebsd_committer 2011-09-18 12:50:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stas

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Pav Lucistnik freebsd_committer 2011-09-27 21:40:41 UTC
State Changed
From-To: open->closed

Committed, thanks
Comment 3 dfilter service freebsd_committer 2011-09-27 21:40:44 UTC
pav         2011-09-27 20:40:35 UTC

  FreeBSD ports repository

  Modified files:
    devel/libdispatch    Makefile 
  Log:
  - Unbreak, fix depobj, fix configure
  
  PR:             ports/160800 (partially)
  Submitted by:   Oleksii Tsai <oleksii.tsai@googlemail.com>
  
  Revision  Changes    Path
  1.17      +3 -5      ports/devel/libdispatch/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"