Subject: print/cups/ should/must include security/openssl/
To: None <>
From: Sebastian Prause <>
List: tech-pkg
Date: 05/04/2004 18:08:44
trying to build print/libgnomeprint with USE_CUPS=YES, I encountered an error where
ld wasn't able to find -lssl (because it wasn't buildlinked).
(This is on linux if that matters)

From the configure summary:

        Compiler:               gcc
        Compiler flags:         -mcpu=athlon-xp -march=athlon-xp -pipe -O2 -march=athlon-xp -mcpu=athlon-xp
-pipe -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -Wall -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare
        Cups module:            yes    LIBS: -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -lcups -lcrypt -lssl -lcrypto -lnsl
        Data dir:               /usr/pkg/share/libgnomeprint/2.6.0
        Enable gtk-doc:         No

Note that the cups module adds -lssl...

Applying the following patch to print/cups/ fixed the
compilation issue for me:

---  2004-05-04 17:29:37.000000000 +0200
+++       2004-05-04 17:06:43.000000000 +0200
@@ -18,5 +18,6 @@

 .include "../../graphics/png/"
 .include "../../graphics/tiff/"
+.include "../../security/openssl/"


   -- Sebastian Prause