summaryrefslogtreecommitdiff
path: root/databases/p5-SQL-Maker/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-07-09 08:40:17 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-07-09 08:40:17 +0000
commitf6d56007b984e83ebda7162c99abc18d5bde982e (patch)
treeaa20f69168c1d6c9e0dbf200cc417eb6ea9147ca /databases/p5-SQL-Maker/Makefile
parentFix depends. (diff)
Remove all := from BUILD_DEPENDS, here are never needed.
While there, cleanup, and sort depends. When build and run dependencies are the same, there are three ways to avoid duplicating the list while not adding the framework added BUILD_DEPENDS to the RUN_DEPENDS. In order of preference, they are: 1) use RUN_DEPENDS to set BUILD_DEPENDS: BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= foo:bar/baz 2) create another variable and use it: MY_DEPENDS= foo:bar/baz BUILD_DEPENDS= ${MY_DEPENDS} RUN_DEPENDS= ${MY_DEPENDS} 3) use BUILD_DEPENDS to set RUN_DEPENDS and force evaluation: BUILD_DEPENDS= foo:bar/baz RUN_DEPENDS:= ${BUILD_DEPENDS} Sponsored by: Absolight
Diffstat (limited to 'databases/p5-SQL-Maker/Makefile')
-rw-r--r--databases/p5-SQL-Maker/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/p5-SQL-Maker/Makefile b/databases/p5-SQL-Maker/Makefile
index bbf887b86e9a..4e8ac6b5910c 100644
--- a/databases/p5-SQL-Maker/Makefile
+++ b/databases/p5-SQL-Maker/Makefile
@@ -13,10 +13,10 @@ COMMENT= Perl extension for yet another SQL builder
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
+BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= \
p5-Class-Accessor-Lite>=0.05:devel/p5-Class-Accessor-Lite \
p5-DBI>0:databases/p5-DBI
-BUILD_DEPENDS:= ${RUN_DEPENDS}
TEST_DEPENDS= p5-Test-Simple>=0.96:devel/p5-Test-Simple \
p5-Test-Requires>=0:devel/p5-Test-Requires \
p5-Tie-IxHash>=0:devel/p5-Tie-IxHash