Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 1999 17:36:03 +0100
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        ports@FreeBSD.ORG
Cc:        vanilla@FreeBSD.ORG
Subject:   solution, to get imlib completely installed on -current
Message-ID:  <19990102173603.A64293@klemm.gtn.com>

next in thread | raw e-mail | index | archive | help
Until now I had the problem under -current, that one test
within imlib's configure script fails, as a result of this
lib/libgdk_imlib.a
lib/libgdk_imlib.la
lib/libgdk_imlib.so
lib/libgdk_imlib.so.1.9           
were not build and installed !

If these libs are missing, you don't get gnomelibs and such ports
build and installed !

Solution:

if you configure gtk11-devel with 

	--disable-nls,

then imlib's test program (created by configure), doesn't
fail with an error message, that no reference for dgettext
could be found. In one header file you can see, that the
*gettext functions are only build, if NLS isn't defined.

A workaround would be, to explicitely disable nls for systems
>= FreeBSD-3.0 in the gtk11-devel port.

After that it should be discussed / resolved, whether the 
gtk11-devel port needs to be fixed, because *gettext
functions are missing in the library if NLS is defined
or if the test program in imlib needs to be fixed.

cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/gtk11-devel/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile    1999/01/01 02:32:05     1.39
+++ Makefile    1999/01/02 16:19:33
@@ -30,7 +30,11 @@
                GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config" \
                CPPFLAGS="-I${LOCALBASE}/include" \
                LIBS="-L${LOCALBASE}/lib"
+.if ${OSVERSION} <= 300000
 CONFIGURE_ARGS=        --includedir=${PREFIX}/include/gtk11d
+.else
+CONFIGURE_ARGS=        --includedir=${PREFIX}/include/gtk11d --disable-nls
+.endif

 post-install:
        @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib


-- 
Andreas Klemm                                http://www.FreeBSD.ORG/~andreas
     What gives you 90% more speed, for example, in kernel compilation ?
          http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html
             "NT = Not Today" (Maggie Biggs)      ``powered by FreeBSD SMP''

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990102173603.A64293>