1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Improve the fix once more to build on both FreeBSD and DragonFly and not require an .if

Tested by:	marino
Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-10-01 15:48:09 +00:00
parent edb1a24ffa
commit 27b549417d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398284

View File

@ -26,10 +26,7 @@ NLS_USES= gettext pkgconfig
NLS_CFLAGS_OFF= -DWITHOUT_NLS
NLS_MAKE_ENV_OFF= WITHOUT_NLS=yes
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
MAKE_ENV= INSTALL="install -U"
.endif
post-patch:
@${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile
.include <bsd.port.mk>