Bug 40474 - Cannot make /usr/ports/graphics/gd2
Summary: Cannot make /usr/ports/graphics/gd2
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: 2002-07-12 09:50 UTC by JY
Modified: 2002-10-27 15:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JY 2002-07-12 09:50:01 UTC
	Cannot make /usr/ports/graphics/gd2, screen shot as follows

bash-2.05a$ make
===>  Building for gd-2.0.1_3
make: cannot open bsd.lib.mk.
"/usr/ports/graphics/gd2/files/Makefile.bsd", line 11: warning: "make -V
SHLIB_NAME LIB=gd  SHLIB_MAJOR=4 SHLIB_MINOR=0 -f bsd.lib.mk" returned
non-zero status
make LIB=gd SRCS="gd.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_io_file.c
gd_ss.c gd_io_ss.c gd_png.c gd_jpeg.c gdxpm.c gd_gif_in.c gd_gif_out.c
gd_biggif_out.c gd_lzw_out.c gdfontt.c gdfonts.c gdfontmb.c gdfontl.c
gdfontg.c gdtables.c gdft.c gdcache.c gdkanji.c wbmp.c gd_wbmp.c gdhelpers.c
gd_topal.c"  SHLIB_MAJOR=4 SHLIB_MINOR=0  CFLAGS="-O -pipe -march=pentiumpro
-I/usr/ports/graphics/gd2/work/gd-2.0.1 -I/usr/local/include/freetype2/
-I/usr/local/include/freetype2/freetype -I/usr/local/include  -DHAVE_LIBPNG
-DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -I/usr/X11R6/include/X11
-I/usr/X11R6/include -DHAVE_XPM" -ECFLAGS LDADD="-L/usr/local/lib -lpng -lz
-ljpeg -lfreetype -lm -L/usr/X11R6/lib -lXpm -lX11"  -f bsd.lib.mk libgd.a
make: cannot open bsd.lib.mk.
*** Error code 2
1 error
*** Error code 2

Stop in /usr/ports/graphics/gd2.
bash-2.05a$

/usr/share/mk/bsd.lib.mk exists (of course)

How-To-Repeat: It fails all the time
Comment 1 Alex Dupre 2002-07-13 15:24:35 UTC
Yes, this is an issue caused by the new BSD make. You can fix it by editing
files/Makefile.bsd and replacing all bsd.*.mk istances with
/usr/share/mk/bsd.*.mk
I asked to commit these changes to the port.

-- 
Alex Dupre                             sysadmin@alexdupre.com
http://www.alexdupre.com/              alex@sm.FreeBSD.org
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2002-10-27 15:03:10 UTC
State Changed
From-To: open->feedback

Is this still an issue?
Comment 3 JY 2002-10-27 15:18:12 UTC
On Sun, Oct 27, 2002 at 07:04:36AM -0800, Tilman Linneweh wrote:
> Synopsis: Cannot make /usr/ports/graphics/gd2
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: arved
> State-Changed-When: Sun Oct 27 07:03:10 PST 2002
> State-Changed-Why: 
> Is this still an issue?
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=40474
No, it no longer happens after the gd2 port Makefile was updated to point to absolute path.

Thank you

JY
Comment 4 Tilman Keskinoz freebsd_committer freebsd_triage 2002-10-27 15:25:07 UTC
State Changed
From-To: feedback->closed

Orginator confirmed, Not a problem anymore