FreeBSD Bugzilla – Attachment 240215 Details for
Bug 269584
sysutils/debootstrap: can't chmod debootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] fix broken Makefile patch
pr-debootstrap-fix-patch-Makefile.diff (text/plain), 1.07 KB, created by
John Hein
on 2023-02-17 15:44:36 UTC
(
hide
)
Description:
[patch] fix broken Makefile patch
Filename:
MIME Type:
Creator:
John Hein
Created:
2023-02-17 15:44:36 UTC
Size:
1.07 KB
patch
obsolete
>diff --git a/sysutils/debootstrap/files/patch-Makefile b/sysutils/debootstrap/files/patch-Makefile >index db211f5a422d..0f3f53615aa1 100644 >--- a/sysutils/debootstrap/files/patch-Makefile >+++ b/sysutils/debootstrap/files/patch-Makefile >@@ -5,11 +5,11 @@ > clean: > > -DSDIR=$(DESTDIR)/usr/share/debootstrap >-+DSDIR=$(DESTDIR)/usr/local/share/debootstrap >++DSDIR=$(DESTDIR)%%DATADIR%% > install: > mkdir -p $(DSDIR)/scripts > - mkdir -p $(DESTDIR)/usr/sbin >-+ mkdir -p $(DESTDIR)/usr/local/sbin >++ mkdir -p $(DESTDIR)%%PREFIX%%/sbin > > cp -a scripts/* $(DSDIR)/scripts/ > - install -o root -g root -m 0644 functions $(DSDIR)/ >@@ -17,5 +17,6 @@ > > - sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap > - chown root:root $(DESTDIR)/usr/sbin/debootstrap >- chmod 0755 $(DESTDIR)/usr/sbin/debootstrap >-+ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/local/sbin/debootstrap >+- chmod 0755 $(DESTDIR)/usr/sbin/debootstrap >++ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)%%PREFIX%%/sbin/debootstrap >++ chmod 0755 $(DESTDIR)%%PREFIX%%/sbin/debootstrap
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269584
:
240180
|
240215
|
240358
|
240382