pkgsrc/graphics/OpenRM/patches/patch-ag
2011-07-21 17:04:46 +00:00

25 lines
647 B
Text

$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" \