summaryrefslogtreecommitdiff
path: root/x11/XmHTML/patches/patch-ad
blob: de87a3996cc8c8f54db4f760c4ac003a4a05c1e0 (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
$NetBSD: patch-ad,v 1.3 1999/11/13 07:31:40 jlam Exp $

--- lib/Makefile.orig	Wed Feb  3 19:43:26 1999
+++ lib/Makefile	Tue Nov  2 01:28:54 1999
@@ -25,7 +25,7 @@
 # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.         #
 ##############################################################################
 #
-LIBRARY=libXmHTML.a
+LIBRARY=libXmHTML.la
 
 # Target to make
 TARGET=$(LIBRARY)
@@ -44,9 +44,9 @@
 	@(set -x; cd common; $(MAKE) all $(pass_flags) )
 
 $(TARGET):: common $(PLATFORM) 
-	$(RM) $@ \ 
-	$(AR) $@ common/*.o $(PLATFORM)/*.o
-	$(RANLIB) $@
+	$(RM) $@
+	$(CC) -o $@ common/*.lo $(PLATFORM)/*.lo \
+		-rpath ${PREFIX}/lib -version-info 1:2
 	
 depend:: 
 	@( for dir in $(SUBDIRS) ; do \