freebsd-ports/audio/xanalyser/files/patch-src_Makefile.in
2010-05-27 00:32:09 +00:00

23 lines
848 B
Text

--- src/Makefile.in.orig 2010-05-25 13:20:23.000000000 -0400
+++ src/Makefile.in 2010-05-25 13:22:37.000000000 -0400
@@ -194,7 +194,8 @@
utils.cc utils.h \
Trans.h
-xanalyser_LDADD = -lXext -lXm -lXt -lSM -lICE -lXmu -lXpm -lX11 \
+xanalyser_LDADD = -L%%LOCALBASE%%/lib -lXext %%MOTIFLIB%% \
+ -lXt -lSM -lICE -lXmu -lXpm -lX11 \
$(FFTWLDADD) $(ALSALDADD)
EXTRA_DIST = XAnalyser.ad help.txt *.xpm
@@ -474,8 +475,8 @@
txt2c help.txt > help.txt.h
install-data-hook:
- mkdir -p $(DESTDIR)/usr/share/X11/app-defaults
- cp XAnalyser.ad $(DESTDIR)/usr/share/X11/app-defaults/XAnalyser
+ mkdir -p %%PREFIX%%/lib/X11/app-defaults
+ cp XAnalyser.ad %%PREFIX%%/lib/X11/app-defaults/XAnalyser
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: