mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Allow staging as a regular user
This commit is contained in:
parent
c8caaa1932
commit
86b6bafdfd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366016
1 changed files with 3 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
||||||
--- ./Makefile.orig 2000-07-29 08:41:38.000000000 +0200
|
--- Makefile.orig 2000-07-29 06:41:38 UTC
|
||||||
+++ ./Makefile 2014-02-14 11:11:34.806983153 +0100
|
+++ Makefile
|
||||||
@@ -2,8 +2,8 @@
|
@@ -2,8 +2,8 @@
|
||||||
|
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
|
@ -16,16 +16,7 @@
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
- install -m 755 -o root -g root mp3_check ${LOCALBASE}/bin
|
- install -m 755 -o root -g root mp3_check ${LOCALBASE}/bin
|
||||||
+ install -m 755 -o root -g wheel mp3_check ${DESTDIR}${PREFIX}/bin
|
+ ${BSD_INSTALL_PROGRAM} mp3_check ${DESTDIR}${PREFIX}/bin
|
||||||
|
|
||||||
# The FreeBSD Makefile options need a little work, but this will work for now.
|
# The FreeBSD Makefile options need a little work, but this will work for now.
|
||||||
freebsd: mp3_check.c mp3_check.h mp3_check_misc.c
|
freebsd: mp3_check.c mp3_check.h mp3_check_misc.c
|
||||||
@@ -29,7 +29,7 @@
|
|
||||||
strip mp3_check
|
|
||||||
|
|
||||||
freebsd_install: freebsd
|
|
||||||
- install -m 755 -o root -g wheel mp3_check ${LOCALBASE}/bin
|
|
||||||
+ install -m 755 -o root -g wheel mp3_check ${DESTDIR}${PREFIX}/bin
|
|
||||||
|
|
||||||
mp3_check.o: mp3_check.c
|
|
||||||
mp3_check_misc.o: mp3_check_misc.c
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue