blob: aa43b8796852aff5831a1bc41f2da8da5e43dc68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
$NetBSD: patch-du,v 1.4 2008/10/20 12:30:16 hira Exp $
--- solenv/inc/pkgsrc.mk.orig 2008-10-16 18:30:22.000000000 +0900
+++ solenv/inc/pkgsrc.mk 2008-10-17 16:32:40.000000000 +0900
@@ -0,0 +1,36 @@
+#
+# Settings for pkgsrc.
+#
+
+BERKELEYLIB="@LIB_db4@ -ldb4"
+BERKELEYCPPLIB="@LIB_db4@ -ldb4_cxx"
+
+EXPAT3RDLIB="@LIB_expat@ -lexpat"
+EXPATASCII3RDLIB="@LIB_expat@ -lexpat"
+
+ICUINLIB="@LIB_icu@ -licui18n"
+ICULELIB="@LIB_icu@ -licule"
+ICUUCLIB="@LIB_icu@ -licuuc"
+ICUDATALIB="@LIB_icu@ -licudata"
+
+JPEG3RDLIB="@LIB_jpeg@ -ljpeg"
+
+ZLIB3RDLIB="@LIB_zlib@ -lz"
+
+STDLIBGUIMT+=${X11_LDFLAGS}
+STDSHLGUIMT+=${X11_LDFLAGS}
+
+LIB_base=@COMPILER_RPATH_FLAG@@OO_LIBDIR@
+LIB_ure=@COMPILER_RPATH_FLAG@@OO_LIBDIR@/../ure-link/lib
+LIB_jawt=@LIB_jawt@
+LIB_mawt=@LIB_mawt@
+
+AWTLIB=${LIB_jawt} ${LIB_mawt} -ljawt
+
+# Add runtime search path ($ORIGIN cannot be used in pkgsrc).
+LINKFLAGS+= ${LIB_base} ${LIB_ure} ${LIB_jawt} ${LIB_mawt}
+EXTRA_LINKFLAGS+= ${LIB_base} ${LIB_ure} ${LIB_jawt} ${LIB_mawt}
+
+# XXX: unoxml/source/rdf and libxmlsec don't use LINKFLAGS.
+REDLANDLIB+= ${LIB_base} ${LIB_ure}
+xmlsec_LDFLAGS+= ${LIB_base} ${LIB_ure}
|