summaryrefslogtreecommitdiff
path: root/textproc/xerces-c/patches/patch-aa
blob: e5d8cf695ccaf2351236076608e6e29dfeb945bc (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
$NetBSD: patch-aa,v 1.1.1.1 2001/01/13 16:38:22 skrll Exp $

--- Makefile.incl.orig	Sat Sep 30 18:37:28 2000
+++ Makefile.incl
@@ -369,6 +369,19 @@
 SHLIBSUFFIX=.so
 endif
 
+#=============== NETBSD SPECIFIC OPTIONS ========================
+ifeq (${PLATFORM}, NETBSD)
+  PLATFORM_COMPILE_OPTIONS = -fPIC -instances=static -D${PLATFORM}
+  MAKE_SHARED = ${CXX} -D${PLATFORM} -shared
+  MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared
+  ifeq (${TRANSCODER}, ICU)
+      ALLLIBS = ${LIBS} -L${LOCALBASE} -licuuc -licudata -lm
+  else
+      ALLLIBS = ${LIBS} -L${LOCALBASE} -lm
+  endif
+  SHLIBSUFFIX=.so
+endif
+
 ###################### STANDARD TOOLS #############################
 ifeq (${PLATFORM}, OS400)
 CP = -cp -fph