1628985f78
NOTE: With java option and PKG_DEVELOPER=yes, this package will fail to build. Please fix wip/jdk15 (runtime library search paths are missing).
40 lines
1 KiB
Text
40 lines
1 KiB
Text
$NetBSD: patch-du,v 1.6 2008/10/20 16:14:54 hira Exp $
|
|
|
|
--- solenv/inc/pkgsrc.mk.orig 2008-10-16 18:30:22.000000000 +0900
|
|
+++ solenv/inc/pkgsrc.mk 2008-10-21 00:03:23.000000000 +0900
|
|
@@ -0,0 +1,35 @@
|
|
+#
|
|
+# 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@
|
|
+
|
|
+AWTLIB=${LIB_jawt} -ljawt
|
|
+
|
|
+# Add runtime search path ($ORIGIN cannot be used in pkgsrc).
|
|
+LINKFLAGS+= ${LIB_base} ${LIB_ure}
|
|
+EXTRA_LINKFLAGS+= ${LIB_base} ${LIB_ure}
|
|
+
|
|
+# XXX: unoxml/source/rdf and libxmlsec don't use LINKFLAGS.
|
|
+REDLANDLIB+= ${LIB_base} ${LIB_ure}
|
|
+xmlsec_LDFLAGS+= ${LIB_base} ${LIB_ure}
|