Changeset View
Changeset View
Standalone View
Standalone View
mail/mblaze/files/patch-GNUmakefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- GNUmakefile.orig 2018-08-15 15:16:45 UTC | |||||
+++ GNUmakefile | |||||
@@ -15,9 +15,9 @@ LDLIBS=-liconv | |||||
endif | |||||
DESTDIR= | |||||
-PREFIX=/usr/local | |||||
+PREFIX=$(LOCALBASE) | |||||
mat: This is so wrong.
* `PREFIX` is where the port installs itself
* `LOCALBASE` is where the port… | |||||
loaderAuthorUnsubmitted Not Done Inline ActionsOkay, thanks @mat. loader: Okay, thanks @mat. | |||||
BINDIR=$(PREFIX)/bin | |||||
-MANDIR=$(PREFIX)/share/man | |||||
+MANDIR=$(PREFIX)/man | |||||
ALL = maddr magrep mdate mdeliver mdirs mexport mflag mflow mgenmid mhdr minc mlist mmime mpick mscan msed mseq mshow msort mthread | |||||
SCRIPT = mcolor mcom mless mmkdir mquote museragent | |||||
@@ -58,7 +58,8 @@ install: FRC all | |||||
$(DESTDIR)$(MANDIR)/man1 \ | |||||
$(DESTDIR)$(MANDIR)/man5 \ | |||||
$(DESTDIR)$(MANDIR)/man7 | |||||
- install -m0755 $(ALL) $(SCRIPT) $(DESTDIR)$(BINDIR) | |||||
+ install -s -m0755 $(ALL) $(DESTDIR)$(BINDIR) | |||||
+ install -m0755 $(SCRIPT) $(DESTDIR)$(BINDIR) | |||||
ln -sf mless $(DESTDIR)$(BINDIR)/mnext | |||||
Done Inline ActionsIt would be better to use ${BSD_INSTALL_PROGRAM} and ${BSD_INSTALL_SCRIPT} so that this respects debug and strip flags. mat: It would be better to use ${BSD_INSTALL_PROGRAM} and ${BSD_INSTALL_SCRIPT} so that this… | |||||
ln -sf mless $(DESTDIR)$(BINDIR)/mprev | |||||
ln -sf mcom $(DESTDIR)$(BINDIR)/mbnc |
This is so wrong.