tech-pkg: print/cups/buildlink3.mk should/must include security/openssl/buildlink3.mk

Subject: print/cups/buildlink3.mk should/must include security/openssl/buildlink3.mk
To: None <tech-pkg@netbsd.org>
From: Sebastian Prause <sebastian-p@gmx.net>
List: tech-pkg
Date: 05/04/2004 18:08:44
Hi,
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/buildlink3.mk fixed the
compilation issue for me:
--- buildlink3.mk.orig 2004年05月04日 17:29:37.000000000 +0200
+++ buildlink3.mk 2004年05月04日 17:06:43.000000000 +0200
@@ -18,5 +18,6 @@
 .include "../../graphics/png/buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
 -- Sebastian Prause

AltStyle によって変換されたページ (->オリジナル) /