openbsd-ports/net/amsn/patches/patch-Makefile_in
jasper 5edb1c5cfb - update to 0.98.4
from Azwaw OUSADOU (MAINTAINER)
2011-07-07 13:14:29 +00:00

51 lines
2.0 KiB
Plaintext

$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@
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
FILES_TO_INSTALL += utils/md4 utils/sasl ca-certs
@@ -82,7 +82,7 @@ USE_MMX := @USE_MMX@
# 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)"'
-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
- 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/