summaryrefslogtreecommitdiff
path: root/graphics/OpenRM/patches/patch-ag
blob: ca86b5426bac62e8924e51509bc91392100aeedc (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
$NetBSD: patch-ag,v 1.2 2011/07/21 17:04:46 joerg Exp $

--- make.cfg.orig	2004-04-18 15:55:13.000000000 -0400
+++ make.cfg
@@ -144,6 +144,20 @@ freebsd:
 	"MAKELIB = ../bin/mklib.freebsd" \
 	"ARCHFLAGS = none"
 
+libtool:
+	@$(MAKE) $(MFLAGS) -f Makefile.x11 targets \
+	"CC = libtool --mode=compile ${CC}" \
+	"XINC = -I/usr/X11R6/include" \
+	"RMINC = ../include" \
+	"CFLAGS = $(CFLAGS) -c -DRM_X" \
+	"RMLIB = librm" \
+	"RMVLIB = librmv" \
+	"RMAUXLIB = librmaux" \
+	"RMILIB = librmi" \
+	"LIBDIR = ../lib" \
+	"MAKELIB = ../bin/mklib.libtool" \
+	"ARCHFLAGS = none"
+
 linux:
 	@$(MAKE) $(MFLAGS) -f Makefile.x11 targets \
 	"CC = gcc" \