Bug 17647 - Update port: math/wmcalc
Summary: Update port: math/wmcalc
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: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-03-28 19:10 UTC by tkato
Modified: 2000-03-30 01:21 UTC (History)
0 users

See Also:


Attachments
file.diff (2.73 KB, patch)
2000-03-28 19:10 UTC, tkato
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato 2000-03-28 19:10:10 UTC
- Support CC/X11BASE properly

Remove file:
patches/patch-ab  patches/patch-ac
Comment 1 jedgar 2000-03-28 20:05:19 UTC
On Tue, 28 Mar 2000 tkato@prontomail.ne.jp wrote:

> -+INCLUDES=-I${PREFIX}/include
> -+LIBINC=-L${PREFIX}/lib
> ++INCLUDES =-I${X11BASE}/include/X11 -I${X11BASE}/include
> ++LIBINC =-L${X11BASE}/lib
>  +LIBS = -lX11 -lXpm -lXext -lm
>   
> --#include <Xlib.h>
> --#include <Xutil.h>
> --#include <xpm.h>
> --#include <extensions/shape.h>
> --#include <keysym.h>
> -+#include <X11/Xlib.h>
> -+#include <X11/Xutil.h>
> -+#include <X11/xpm.h>
> -+#include <X11/extensions/shape.h>
> -+#include <X11/keysym.h>

I'm not sure I want to promote poor coding techniques my simply including
/usr/X11R6/include/X11 instead of the standard /usr/X11R6/include to make
up for the author's lack of the X11/ in his/her #include's.


-----
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
Comment 2 Chris D.Faulhaber freebsd_committer freebsd_triage 2000-03-30 01:18:17 UTC
State Changed
From-To: open->closed

Committed, thanks! 
CC/X11BASE is now supported correctly, but I will wait 
for the author to fix the X11 #include's properly.