aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg-devel
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2019-06-03 11:28:13 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2019-06-03 11:28:13 +0000
commit0bb669f431840c6ba7c65cb6686401bc110078b8 (patch)
treee0c3830baf02f584f60dd1ec245caf9e5ac0e822 /ports-mgmt/pkg-devel
parent887504ba6b2fd6a15f2252c7180e109d55f50aa8 (diff)
downloadports-0bb669f431840c6ba7c65cb6686401bc110078b8.tar.gz
ports-0bb669f431840c6ba7c65cb6686401bc110078b8.zip
Respect CC and PREFIX
Notes
Notes: svn path=/head/; revision=503376
Diffstat (limited to 'ports-mgmt/pkg-devel')
-rw-r--r--ports-mgmt/pkg-devel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports-mgmt/pkg-devel/Makefile b/ports-mgmt/pkg-devel/Makefile
index 8ce717dc436e..77e28774882d 100644
--- a/ports-mgmt/pkg-devel/Makefile
+++ b/ports-mgmt/pkg-devel/Makefile
@@ -21,7 +21,8 @@ USE_LDCONFIG= yes
HAS_CONFIGURE= yes
PORTDOCS= NEWS
PORTSCOUT= ignore:1
-CONFIGURE_ARGS= --mandir=${PREFIX}/man
+CONFIGURE_ARGS= --mandir=${PREFIX}/man --prefix="${PREFIX}"
+CONFIGURE_ENV= CC_FOR_BUILD="${CC}"
# Use a submake as 'deinstall install' needs to reevaluate PKG_REGISTER
# so that pkg-static is used from the wrkdir