diff options
Diffstat (limited to 'chat/gaim-otr/patches/patch-aa')
-rw-r--r-- | chat/gaim-otr/patches/patch-aa | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/chat/gaim-otr/patches/patch-aa b/chat/gaim-otr/patches/patch-aa new file mode 100644 index 00000000000..c6507568c25 --- /dev/null +++ b/chat/gaim-otr/patches/patch-aa @@ -0,0 +1,40 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/03/24 21:25:01 nathanw Exp $ + +--- Makefile.orig 2005-03-14 13:10:12.000000000 -0500 ++++ Makefile 2005-03-14 13:13:50.000000000 -0500 +@@ -2,7 +2,7 @@ + GAIM_OTR_VERSION = 2.0.1 + + # Replace this with the path to the GAIM headers +-GAIM_SOURCE ?= /usr/include/gaim ++GAIM_SOURCE ?= ${PREFIX}/include/gaim + + # If you don't have pkg-config, put the appropriate -I entry on the next line + GTK_HDRS ?= `pkg-config --cflags glib-2.0 gtk+-2.0` +@@ -10,10 +10,10 @@ + # The location of the libotr include files. Note that if, for example, + # the full path of message.h is /usr/include/libotr/message.h, you + # should put /usr/include on the next line, not /usr/include/libotr +-LIBOTRINCDIR = /usr/include ++LIBOTRINCDIR = ${PREFIX}/include + + # The locataion of libotr.a. +-LIBOTRLIBDIR = /usr/lib ++LIBOTRLIBDIR = ${PREFIX}/lib + + # The target + TARGET = gaim-otr.so +@@ -30,11 +30,11 @@ + else + FPIC = -fPIC + LDFLAGS = -module -avoid-version +-LDLIBS = -lotr -lgcrypt ++LDLIBS = -L${LIBOTRLIBDIR} -Wl,--rpath,${LIBOTRLIBDIR} -lotr -lgcrypt + endif + + # Install directory +-GAIMDIR = /usr/lib/gaim ++GAIMDIR = ${PREFIX}/lib/gaim + INSTALLDIR = $(DESTDIR)$(GAIMDIR) + + CC ?= gcc |