openbsd-ports/net/amsn/patches/patch-Makefile_in

51 lines
2.0 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-Makefile_in,v 1.5 2011/07/07 13:14:29 jasper Exp $
--- Makefile.in.orig Thu Mar 18 20:58:48 2010
+++ Makefile.in Tue Jun 21 11:02:26 2011
@@ -11,10 +11,10 @@ STATIC := @STATIC@
2007-10-22 15:32:24 -04:00
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
2007-10-22 15:32:24 -04:00
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
2007-10-22 15:32:24 -04:00
+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
FILES_TO_INSTALL += utils/md4 utils/sasl ca-certs
@@ -82,7 +82,7 @@ USE_MMX := @USE_MMX@
2007-10-22 15:32:24 -04:00
# build final cflags
CFLAGS := @CFLAGS@
ifeq (@DEBUG@,no)
-CFLAGS += -O2
+#CFLAGS += -O2
else
CFLAGS += -g3 -DDEBUG
endif
@@ -104,9 +104,9 @@ CFLAGS += -DPACKAGE='"$(PACKAGE)"'
CFLAGS += -DVERSION='"$(VERSION)"'
CFLAGS += -DLIBDIR='"$(LIBDIR)"'
2007-10-22 15:32:24 -04:00
-CXXFLAGS := @CXXFLAGS@
+CXXFLAGS := $(CFLAGS) @CXXFLAGS@
ifeq (@DEBUG@,no)
-CXXFLAGS += -O2
+#CXXFLAGS += -O2
else
CXXFLAGS += -g3 -DDEBUG
endif
@@ -234,9 +234,9 @@ install:: $(FILES_TO_INSTALL)
rm -Rf $(DESTDIR)$(dstdir)/$(PACKAGE)/$$p; \
done
2007-10-22 15:32:24 -04:00
- 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
2007-10-22 15:32:24 -04:00
cp $(srcdir)/amsn.desktop $(DESTDIR)$(dstdir)/applications/
2007-10-22 15:32:24 -04:00