2af6c5dbb5
from Azwaw OUSADOU, with some tweaks by me
51 lines
2.0 KiB
Plaintext
51 lines
2.0 KiB
Plaintext
$OpenBSD: patch-Makefile_in,v 1.4 2010/09/14 12:34:42 jasper Exp $
|
|
--- Makefile.in.orig Mon Oct 19 20:52:33 2009
|
|
+++ Makefile.in Sun Dec 27 22:50:18 2009
|
|
@@ -11,10 +11,10 @@ STATIC := @STATIC@
|
|
doc_files := docs INSTALL CREDITS FAQ GNUGPL HELP README TODO AGREEMENT remote.help
|
|
|
|
FILES_TO_INSTALL := *.tcl hotmlog.htm amsn amsn-remote amsn-remote-CLI amsn.desktop langlist
|
|
-FILES_TO_INSTALL += $(doc_files)
|
|
+FILES_TO_INSTALL += remote.help
|
|
FILES_TO_INSTALL += desktop-icons lang skins utils/des utils/base64 utils/drawboard utils/framec utils/http
|
|
FILES_TO_INSTALL += utils/pixmapscroll utils/pixmapmenu utils/contentmanager
|
|
-FILES_TO_INSTALL += utils/scalable-bg utils/sha1 utils/snit utils/BWidget-1.9.0 utils/dpbrowser
|
|
+FILES_TO_INSTALL += utils/scalable-bg utils/sha1 utils/snit utils/dpbrowser
|
|
FILES_TO_INSTALL += plugins utils/sexytile
|
|
FILES_TO_INSTALL += utils/log utils/uri utils/combobox utils/voipcontrols
|
|
|
|
@@ -81,7 +81,7 @@ USE_MMX := @USE_MMX@
|
|
# build final cflags
|
|
CFLAGS := @CFLAGS@
|
|
ifeq (@DEBUG@,no)
|
|
-CFLAGS += -O2
|
|
+#CFLAGS += -O2
|
|
else
|
|
CFLAGS += -g3 -DDEBUG
|
|
endif
|
|
@@ -103,9 +103,9 @@ CFLAGS += -DPACKAGE='"$(PACKAGE)"'
|
|
CFLAGS += -DVERSION='"$(VERSION)"'
|
|
CFLAGS += -DLIBDIR='"$(LIBDIR)"'
|
|
|
|
-CXXFLAGS := @CXXFLAGS@
|
|
+CXXFLAGS := $(CFLAGS) @CXXFLAGS@
|
|
ifeq (@DEBUG@,no)
|
|
-CXXFLAGS += -O2
|
|
+#CXXFLAGS += -O2
|
|
else
|
|
CXXFLAGS += -g3 -DDEBUG
|
|
endif
|
|
@@ -233,9 +233,9 @@ install:: $(FILES_TO_INSTALL)
|
|
rm -Rf $(DESTDIR)$(dstdir)/$(PACKAGE)/$$p; \
|
|
done
|
|
|
|
- ln -sf $(dstdir)/$(PACKAGE)/amsn $(DESTDIR)$(slnkdir)/amsn
|
|
- ln -sf $(dstdir)/$(PACKAGE)/amsn-remote $(DESTDIR)$(slnkdir)/amsn-remote
|
|
- ln -sf $(dstdir)/$(PACKAGE)/amsn-remote-CLI $(DESTDIR)$(slnkdir)/amsn-remote-CLI
|
|
+# ln -sf $(dstdir)/$(PACKAGE)/amsn $(DESTDIR)$(slnkdir)/amsn
|
|
+# ln -sf $(dstdir)/$(PACKAGE)/amsn-remote $(DESTDIR)$(slnkdir)/amsn-remote
|
|
+# ln -sf $(dstdir)/$(PACKAGE)/amsn-remote-CLI $(DESTDIR)$(slnkdir)/amsn-remote-CLI
|
|
|
|
cp $(srcdir)/amsn.desktop $(DESTDIR)$(dstdir)/applications/
|
|
|