Hi,

I tried to create the gd package for 4.2, which broke because somehow
the configure system detected the presence of the freetype library,
even when freetype isn't installed, but (naturally) failed to compile
because the dependency on freetype is weak (WANT* instead of DEPEND),
and it's on freetype2 which is not in the ports or system.

I modified the Makefile like this:


# diff -u Makefile.orig Makefile
--- Makefile.orig       Tue Oct 23 23:01:26 2007
+++ Makefile    Tue Oct 23 23:01:03 2007
@@ -22,7 +22,7 @@
 PERMIT_DISTFILES_FTP=  Yes
 
 CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS+= --without-xpm
+CONFIGURE_ARGS+= --without-xpm --without-freetype
 
 USE_X11=       Yes
 USE_LIBTOOL=   Yes


With this change, I can create the package, but I'd like to know
whether someone has successfully built this package on 4.2 with
freetype, and how.


TIA!


Best,
--Toni++

Reply via email to