mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Pass variables to make(1), rather than patching
This commit is contained in:
parent
b3396d4e01
commit
5a4d9e71b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490429
@ -21,7 +21,9 @@ USES= gmake
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= maxmind
|
||||
|
||||
MAKE_ENV+= GOPATH=${WRKSRC}
|
||||
MAKE_ENV+= GOPATH=${WRKSRC} \
|
||||
CONFFILE=${PREFIX}/etc/GeoIP.conf \
|
||||
DATADIR=${PREFIX}/share/GeoIP
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
@ -30,9 +32,6 @@ PLIST_FILES= bin/geoipupdate \
|
||||
'@dir share/GeoIP'
|
||||
PORTDOCS= GeoIP.conf.md geoipupdate.md
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
|
||||
|
||||
do-build:
|
||||
${MV} ${WRKSRC}/vendor ${WRKSRC}/src
|
||||
${DO_MAKE_BUILD} -C ${WRKSRC}
|
||||
|
Loading…
Reference in New Issue
Block a user