Files
ports/sysutils/b43-fwcutter/files/patch-Makefile
T
Alexey Dokuchaev cd83c1fa1a - Update `sysutils/b43-fwcutter' to the latest version (019)
- Fix MASTER_SITES so they point to the correct distfile location
  and thus actually unbreak the fetch
- Define LICENSE (BSD2CLAUSE), reword COMMENT and port description
- Enable verbose build so we have useful logs for debugging
- Remove useless and bogus hunk from the patch: DESTDIR should not
  be a part of PREFIX and is already respected during installation
- Take maintainership for the time being: unfortunately, Scot has
  not been using FreeBSD lately

Approved by:	previous maintainer
2019-01-29 11:23:39 +00:00

18 lines
661 B
Plaintext

--- Makefile.orig 2011-08-21 20:17:01.000000000 +0800
+++ Makefile 2014-02-21 09:40:52.782172201 +0800
@@ -51,10 +51,10 @@
$(QUIET_CC) $(CFLAGS) -o $(BIN) $(call OBJS,$(SRCS)) $(LDFLAGS)
install: all
- install -d -o 0 -g 0 -m 755 $(PREFIX)/bin/
- install -o 0 -g 0 -m 755 $(BIN) $(PREFIX)/bin/
- install -d -o 0 -g 0 -m 755 $(PREFIX)/man/man1/
- install -o 0 -g 0 -m 644 $(BIN).1 $(PREFIX)/man/man1/
+ install -d -m 755 $(DESTDIR)$(PREFIX)/bin/
+ $(BSD_INSTALL_PROGRAM) $(BIN) $(DESTDIR)$(PREFIX)/bin/
+ install -d -m 755 $(DESTDIR)$(PREFIX)/man/man1/
+ $(BSD_INSTALL_MAN) $(BIN).1 $(DESTDIR)$(PREFIX)/man/man1/
clean:
-rm -Rf obj dep *.orig *.rej *~