svn commit: r490429 - head/net/geoipupdate
Adam Weinberger
adamw at FreeBSD.org
Tue Jan 15 21:30:12 UTC 2019
Author: adamw
Date: Tue Jan 15 21:30:11 2019
New Revision: 490429
URL: https://svnweb.freebsd.org/changeset/ports/490429
Log:
Pass variables to make(1), rather than patching
Modified:
head/net/geoipupdate/Makefile
Modified: head/net/geoipupdate/Makefile
==============================================================================
--- head/net/geoipupdate/Makefile Tue Jan 15 21:28:27 2019 (r490428)
+++ head/net/geoipupdate/Makefile Tue Jan 15 21:30:11 2019 (r490429)
@@ -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
@@ -29,9 +31,6 @@ PLIST_FILES= bin/geoipupdate \
'@sample etc/GeoIP.conf.sample' \
'@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
More information about the svn-ports-head
mailing list