Bug 194739 - x11-wm/wmfs fails to build without Xinerama and some errors in Makefile
Summary: x11-wm/wmfs fails to build without Xinerama and some errors in Makefile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-01 15:20 UTC by Sergey Zhmylove
Modified: 2016-02-01 14:24 UTC (History)
1 user (show)

See Also:
amdmi3: maintainer-feedback-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Zhmylove 2014-11-01 15:20:07 UTC
# cat /var/db/ports/x11-wm_wmfs/options
# This file is auto-generated by 'make config'.
# Options for wmfs-201104_2
_OPTIONS_READ=wmfs-201104_2
_FILE_COMPLETE_OPTIONS_LIST=IMLIB XINERAMA XRANDR
OPTIONS_FILE_SET+=IMLIB
OPTIONS_FILE_UNSET+=XINERAMA
OPTIONS_FILE_SET+=XRANDR
# make
--- src/frame.o ---
In file included from src/frame.c:33:
src/wmfs.h:67:10: fatal error: 'X11/extensions/Xinerama.h' file not found
#include <X11/extensions/Xinerama.h>
         ^
...

And there are some problems in CFLAGS (-I, -L, -l) for wmfs.


WORKAROUND:
# sed -i. s/-DHAVE_XINERAMA// /usr/ports/x11-wm/wmfs/work/wmfs-201104/Makefile

And add
CFLAGS+=        -I/usr/local/include/freetype2 -I/usr/local/include
LDFLAGS+=       -lX11 -lImlib2 -lXft -lXrandr
To /usr/ports/x11-wm/wmfs/Makefile
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-01 15:20:07 UTC
Auto-assigned to maintainer dhn@FreeBSD.org
Comment 2 Jan Beich freebsd_committer freebsd_triage 2015-08-30 23:06:16 UTC
Reset assignee per ports r389300.
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-12-02 14:45:40 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Dec  2 14:44:49 UTC 2015
New revision: 402829
URL: https://svnweb.freebsd.org/changeset/ports/402829

Log:
  - Fix options handling
  - Respect LOCALBASE

  PR:		194739
  Reported by:	zhmylove@narod.ru

Changes:
  head/x11-wm/wmfs/Makefile