| Summary: | Build devel/libdispatch with blocks support fails due to missing clang | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Oleksii <oleksii.tsai> | ||||
| Component: | Individual Port(s) | Assignee: | Stanislav Sedov <stas> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports-bugs->stas Over to maintainer (via the GNATS Auto Assign Tool) State Changed From-To: open->closed Committed, thanks 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"
|
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