57 lines
2.0 KiB
Plaintext
57 lines
2.0 KiB
Plaintext
$OpenBSD: patch-mk_common_mk,v 1.3 2007/05/09 14:01:55 naddy Exp $
|
|
--- mk/common.mk.orig Wed Apr 18 00:38:42 2007
|
|
+++ mk/common.mk Sat Apr 21 16:03:36 2007
|
|
@@ -1,8 +1,6 @@
|
|
# $Id: patch-mk_common_mk,v 1.3 2007/05/09 14:01:55 naddy Exp $
|
|
|
|
-TMPCFLAGS = -g -Wall -W -O3 -funroll-loops -D_FILE_OFFSET_BITS=64 \
|
|
- -D_LARGEFILE_SOURCE -D_GNU_SOURCE \
|
|
- -DSYS_$(shell echo $(SYSTEM) | tr a-z A-Z)
|
|
+TMPCFLAGS = -DSYS_$(shell echo $(SYSTEM) | tr a-z A-Z)
|
|
TMPCXXFLAGS = $(TMPCFLAGS)
|
|
TMPLDFLAGS =
|
|
|
|
@@ -91,32 +89,32 @@ endef
|
|
|
|
define INSTALL_BIN_RULE
|
|
@echo "Install $<"
|
|
- @$(MKDIR) $(DESTDIR)$(PREFIX)/bin
|
|
- @$(CP) $< $(DESTDIR)$(PREFIX)/bin/
|
|
+ @$(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(PREFIX)/bin
|
|
+ @$(BSD_INSTALL_PROGRAM) $< $(DESTDIR)$(PREFIX)/bin/
|
|
endef
|
|
|
|
define INSTALL_LOCALE_RULE
|
|
@echo "Install $<"
|
|
- @$(MKDIR) $(DESTDIR)$(LOCALEDIR)/$*/LC_MESSAGES
|
|
- @$(CP) $< $(DESTDIR)$(LOCALEDIR)/$*/LC_MESSAGES/transmission-gtk.mo
|
|
+ @$(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(LOCALEDIR)/$*/LC_MESSAGES
|
|
+ @$(BSD_INSTALL_DATA) $< $(DESTDIR)$(LOCALEDIR)/$*/LC_MESSAGES/transmission-gtk.mo
|
|
endef
|
|
|
|
define INSTALL_MAN_RULE
|
|
@echo "Install $<"
|
|
- @$(MKDIR) $(DESTDIR)$(PREFIX)/man/man1
|
|
- @$(CP) $< $(DESTDIR)$(PREFIX)/man/man1/
|
|
+ @$(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(PREFIX)/man/man1
|
|
+ @$(BSD_INSTALL_MAN) $< $(DESTDIR)$(PREFIX)/man/man1/
|
|
endef
|
|
|
|
define INSTALL_DESKTOP_RULE
|
|
@echo "Install $<"
|
|
- @$(MKDIR) $(DESTDIR)$(PREFIX)/share/applications
|
|
- @$(CP) $< $(DESTDIR)$(PREFIX)/share/applications/
|
|
+ @$(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/share/applications
|
|
+ @$(BSD_INSTALL_DATA) $< $(DESTDIR)$(PREFIX)/share/applications/
|
|
endef
|
|
|
|
define INSTALL_ICON_RULE
|
|
@echo "Install $<"
|
|
- @$(MKDIR) $(DESTDIR)$(PREFIX)/share/pixmaps
|
|
- @$(CP) $< $(DESTDIR)$(PREFIX)/share/pixmaps/
|
|
+ @$(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/share/pixmaps
|
|
+ @$(BSD_INSTALL_DATA) $< $(DESTDIR)$(PREFIX)/share/pixmaps/
|
|
endef
|
|
|
|
RM = rm -Rf
|