freebsd-ports/emulators/pcsxr/files/patch-gui-Makefile.am
2011-07-01 10:13:22 +00:00

20 lines
674 B
Text

--- gui/Makefile.am.orig 2011-06-30 08:47:19.000000000 +0200
+++ gui/Makefile.am 2011-06-30 11:43:02.263535649 +0200
@@ -3,8 +3,8 @@
-DLOCALE_DIR=\"${datadir}/locale/\" \
$(GTK2_CFLAGS) $(GLADE2_CFLAGS) \
-I$(top_srcdir)/libpcsxcore -I$(top_srcdir)/include \
- -DPSEMU_DATA_DIR=\"${datadir}/psemu\" \
- -DDEF_PLUGIN_DIR=\"${libdir}/games/psemu\"
+ -DPSEMU_DATA_DIR=\"${datadir}/pcsxr\" \
+ -DDEF_PLUGIN_DIR=\"${libdir}/pcsxr\"
bin_PROGRAMS = pcsxr
@@ -29,4 +29,5 @@
pcsxr_LDADD = \
../libpcsxcore/libpcsxcore.a \
- $(GTK2_LIBS) $(GLADE2_LIBS) -lpthread -lz -lm -lXext -lXtst
+ $(GTK2_LIBS) $(GLADE2_LIBS) -lz -lm -lXext -lXtst -lGL
+pcsxr_LDFLAGS = -pthread