summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCreate.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
index 71a2b43b542..75cd2cc6646 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgCreate.pm,v 1.55 2012/01/16 08:42:38 schwarze Exp $
+# $OpenBSD: PkgCreate.pm,v 1.56 2012/01/21 19:14:05 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -679,6 +679,8 @@ sub ask_tree
chdir $portsdir or exit 2;
open STDERR, '>', '/dev/null';
$ENV{FULLPATH} = 'Yes';
+ delete $ENV{FLAVOR};
+ delete $ENV{SUBPACKAGE};
$ENV{SUBDIR} = $dep->{pkgpath};
$ENV{ECHO_MSG} = ':';
exec $make ('make', @action);