freebsd-ports/irc/xchat-ruby/files/patch-Makefile
Dirk Meyer 63b1208511 - fix build with ruby19
Feature safe: yes
2012-03-16 15:52:38 +00:00

11 lines
382 B
Text

--- Makefile.orig 2007-04-26 13:16:32.000000000 +0200
+++ Makefile 2012-03-16 12:31:27.000000000 +0100
@@ -21,7 +21,7 @@
all: $(SO_FILE)
$(SO_FILE): xchat-ruby.o xchat-ruby-plugin.h
- $(CC) -L$(ARCHDIR) $(CFLAGS) -shared -o $(SO_FILE) xchat-ruby.o -lruby
+ $(CC) -L$(PREFIX)/lib $(CFLAGS) -shared -o $(SO_FILE) xchat-ruby.o -lruby
install: $(SO_FILE)
mkdir -p $(XCHAT_DIR)