Subject: galeon
To: None <tech-pkg@netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: tech-pkg
Date: 01/28/2003 22:59:18
After updated to 1.6M, make under www/galeon failed with this message when
running configure.

--------------------------------------------------
checking for Mozilla... no
configure: error:
        *** Mozilla 1.2 is required
        *** A package for 1.2 is available here:
        *** http://ftp.mozilla.org/pub/mozilla/releases/mozilla1.2/.
*** Error code 1
--------------------------------------------------

I found following errors in the config.log,

--------------------------------------------------
configure:10954: checking for PR_Init in -lnspr4
configure:10987: cc -o conftest  -O2 -I/usr/orinoco/include -I/usr/X11R6/include
 -I/usr/orinoco/include/mozilla  -I/usr/orinoco/include/libglade-1.0 -I/usr/orin
oco/include/gdk-pixbuf-1.0  -I/usr/orinoco/include -I/usr/X11R6/include  -Wl,-R/
usr/orinoco/lib/mozilla -Wl,-E  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr
/orinoco/lib -L/usr/orinoco/lib -L/usr/orinoco/lib/mozilla conftest.c -lnspr4   
-lintl >&5
/usr/pkgsrc/www/galeon/work/.buildlink/lib/mozilla/libnspr4.so: undefined refere
nce to `pthread_cond_signal'
/usr/pkgsrc/www/galeon/work/.buildlink/lib/mozilla/libnspr4.so: undefined refere
nce to `pthread_attr_destroy'
/usr/pkgsrc/www/galeon/work/.buildlink/lib/mozilla/libnspr4.so: undefined refere
nce to `pthread_create'
--------------------------------------------------

so I modified Makefile like this. Then compile finished.

--------------------------------------------------
--- Makefile.orig       Tue Jan 28 00:03:03 2003
+++ Makefile    Tue Jan 28 22:37:27 2003
@@ -42,7 +42,7 @@
 .include       "../../x11/gnome-libs/buildlink2.mk"
 
 MOZ_LIBDIR=     ${PREFIX}/lib/mozilla
-LDFLAGS+=       -Wl,-R${MOZ_LIBDIR}
+LDFLAGS+=       -Wl,-R${MOZ_LIBDIR} -lpthread
 
 # Ensure we export symbols in the linked shared object.
 LDFLAGS+=              ${EXPORT_SYMBOLS_LDFLAGS}
--------------------------------------------------

Is this correct way to fix it? 

----
// Hiramatsu, Yoshifumi
// hiramatu@boreas.dti.ne.jp