Ticket #16158: patch-Makefile.diff
File patch-Makefile.diff, 820 bytes (added by davidgilman1+macports@…, 16 years ago) |
---|
-
Makefile
old new 17 17 BINDIR = ${PREFIX}/sbin 18 18 MANDIR = ${PREFIX}/share/man 19 19 LOCALEDIR = ${PREFIX}/share/locale 20 CONFDIR = ${PREFIX}/etc 20 21 21 22 SRC = src 22 23 PO = po 23 24 MAN = man 24 25 25 26 PKG_CONFIG = pkg-config 26 AWK = nawk27 AWK = awk 27 28 INSTALL = install 28 29 29 30 DBUS_MINOR=" `echo $(COPTS) | ../bld/pkg-wrapper $(PKG_CONFIG) --modversion dbus-1 | $(AWK) -F . -- '{ if ($$(NF-1)) print \"-DDBUS_MINOR=\"$$(NF-1) }'`" … … 53 54 $(INSTALL) -d $(DESTDIR)$(BINDIR) -d $(DESTDIR)$(MANDIR)/man8 54 55 $(INSTALL) -m 644 $(MAN)/dnsmasq.8 $(DESTDIR)$(MANDIR)/man8 55 56 $(INSTALL) -m 755 $(SRC)/dnsmasq $(DESTDIR)$(BINDIR) 57 $(INSTALL) -m 644 dnsmasq.conf.example $(DESTDIR)$(CONFDIR)/dnsmasq.conf.sample 56 58 57 59 all-i18n : 58 60 cd $(SRC) && $(MAKE) \