mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Always install as a user given the stage will do the proper job for users credential
This commit is contained in:
parent
8af6916f84
commit
7ff153a552
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363389
@ -17,7 +17,7 @@ COMMENT= Headers and Libraries for Windows cross-development
|
||||
|
||||
CONFLICTS= mingw-bin-msvcrt-[0-9]*
|
||||
|
||||
USE_XZ= yes
|
||||
USES= tar:xz
|
||||
|
||||
RUNTIMEVERSION= 4.0.3-1
|
||||
APIVERSION= 4.0.3-1
|
||||
@ -25,10 +25,6 @@ APIVERSION= 4.0.3-1
|
||||
NO_MTREE= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
.if defined(INSTALL_AS_USER)
|
||||
MAKE_ARGS+= INSTALL_AS_USER=yes
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CP} ${FILESDIR}/Makefile ${WRKDIR}
|
||||
|
||||
|
@ -4,10 +4,6 @@ all:
|
||||
|
||||
install:
|
||||
mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||
.if defined(INSTALL_AS_USER)
|
||||
install -c -m 0755 bin/mingwm10.dll ${DESTDIR}${PREFIX}/bin
|
||||
.else
|
||||
install -c -g wheel -o root -m 0755 bin/mingwm10.dll ${DESTDIR}${PREFIX}/bin
|
||||
.endif
|
||||
mkdir -p ${DESTDIR}${PREFIX}/mingw32
|
||||
cp -R lib include ${DESTDIR}${PREFIX}/mingw32
|
||||
|
Loading…
Reference in New Issue
Block a user