From 04181f8c20b67e433a6c916acbe86d299dfbbae5 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Fri, 21 Feb 2003 20:53:44 +0000 Subject: Link against libXt to avoid unresolvable symbols at runtime. --- www/mplayer-plugin/files/patch-Makefile | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'www/mplayer-plugin/files/patch-Makefile') diff --git a/www/mplayer-plugin/files/patch-Makefile b/www/mplayer-plugin/files/patch-Makefile index f94cb0a8f0d3..fd87c9a9b5ab 100644 --- a/www/mplayer-plugin/files/patch-Makefile +++ b/www/mplayer-plugin/files/patch-Makefile @@ -1,7 +1,11 @@ ---- Makefile.orig Thu Feb 20 16:38:02 2003 -+++ Makefile Thu Feb 20 16:38:09 2003 -@@ -30,8 +30,8 @@ - PLUGIN_DEFINES= -DXP_UNIX -Iinclude -ISource/_gen -I/usr/X11R6/include +--- Makefile.orig Sun Jan 19 08:47:31 2003 ++++ Makefile Fri Feb 21 00:16:20 2003 +@@ -27,11 +27,11 @@ + # + + # PLUGIN_DEFINES= -DXP_UNIX -DPLUGIN_TRACE +-PLUGIN_DEFINES= -DXP_UNIX -Iinclude -ISource/_gen -I/usr/X11R6/include ++PLUGIN_DEFINES= -DXP_UNIX -Iinclude -ISource/_gen -I%%X11BASE%%/include CC= gcc -OPTIMIZER= -g @@ -11,3 +15,12 @@ SRC= Source/mplayerplug-in.c Source/stubs.c OBJ= mplayerplug-in.o stubs.o +@@ -41,7 +41,7 @@ + default all: $(SHAREDTARGET) + + $(SHAREDTARGET): $(OBJ) +- $(CC) -shared -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS) ++ $(CC) -shared -L%%X11BASE%%/lib -lXt -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS) + + mplayerplug-in.o: Source/mplayerplug-in.c + $(CC) -c $(CFLAGS) Source/mplayerplug-in.c -- cgit v1.2.3