freebsd-ports/www/mplayer-plugin/files/patch-Makefile.in
Joe Marcus Clarke 6bcda1dacf Update to 2.45.
2004-03-04 06:36:21 +00:00

20 lines
891 B
Text

--- Makefile.in.orig Fri Feb 27 11:40:58 2004
+++ Makefile.in Thu Mar 4 01:28:16 2004
@@ -12,7 +12,7 @@
CC= @CC@
CXX= @CXX@
-CFLAGS= -Wall @CFLAGS@ -DXP_UNIX -DMOZ_X11 @MOZPLUG_CFLAGS@ -Iinclude -fPIC @X_CFLAGS@ @GECKO_DEFINES@ @GTK_CFLAGS@ @GTHREAD_CFLAGS@ @GTK_DEFINES@
+CFLAGS= -Wall @CFLAGS@ @CPPFLAGS@ -DXP_UNIX -DMOZ_X11 @MOZPLUG_CFLAGS@ -Iinclude -fPIC @X_CFLAGS@ @GECKO_DEFINES@ @GTK_CFLAGS@ @GTHREAD_CFLAGS@ @GTK_DEFINES@
LDFLAGS= @LIBS@ @X_LIBS@ @MOZPLUG_LIBS@ @GTK_LIBS@ @GTHREAD_LIBS@
LIBOBJS= @LIBOBJS@
OBJ= plugin.o nsScriptablePeer.o npp_gate.o np_entry.o npn_gate.o \
@@ -33,7 +33,7 @@
default all: $(SHAREDTARGET)
$(SHAREDTARGET): $(OBJ)
- $(CXX) -shared -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS)
+ $(CXX) -shared -lXt -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS) @LDFLAGS@
cp Source/nsIScriptableMplayerPlugin.xpt mplayerplug-in.xpt
np_entry.o: plugingate/np_entry.cpp