- Use DESTDIR instead of non-standard BASEDIR
Suggested by: mat
This commit is contained in:
parent
5d2bf00922
commit
780b35d5bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341009
1 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,6 @@ RUN_DEPENDS= interdiff:${PORTSDIR}/misc/patchutils \
|
|||
USE_GITHUB= yes
|
||||
USES= gmake perl5
|
||||
USE_PERL5= build # pod2man
|
||||
MAKE_ARGS= BASEDIR="${STAGEDIR}"
|
||||
|
||||
GH_ACCOUNT= caldwell
|
||||
GH_PROJECT= commit-patch
|
||||
|
@ -32,7 +31,7 @@ PORTDOCS= *
|
|||
post-patch:
|
||||
${REINPLACE_CMD} -e 's/share[/]man/man/' \
|
||||
-e 's/PREFIX=/PREFIX?=/' \
|
||||
-e 's/$$(PREFIX)/$$(BASEDIR)$$(PREFIX)/' \
|
||||
-e 's/$$(PREFIX)/$$(DESTDIR)$$(PREFIX)/' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue