summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-08-18 17:35:39 +0000
committerngie <ngie@FreeBSD.org>2014-08-18 17:35:39 +0000
commitdb836cfc04da8b5e2f4a4fa65f9b72062277eff0 (patch)
treeaf322d0af1c79e2081c43411f00f9f193b43e559
parent16b0de82c2ab71db0eed5874db9688606abcd34d (diff)
downloadFreeBSD-src-db836cfc04da8b5e2f4a4fa65f9b72062277eff0.zip
FreeBSD-src-db836cfc04da8b5e2f4a4fa65f9b72062277eff0.tar.gz
Add LIBCRYPT to DPADD, remove LDFLAGS from LDADD, and sort the Makefile variables
This fixes "make checkdpadd" Phabric: D620 Approved by: jmmv (mentor) PR: 192729 MFC after: 5 days
-rw-r--r--lib/libcrypt/tests/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypt/tests/Makefile b/lib/libcrypt/tests/Makefile
index 2a0f1fb..20993e2 100644
--- a/lib/libcrypt/tests/Makefile
+++ b/lib/libcrypt/tests/Makefile
@@ -7,6 +7,7 @@ TESTSDIR= ${TESTSBASE}/lib/libcrypt
ATF_TESTS_C= crypt_tests
CFLAGS+= -I${.CURDIR:H}
-LDADD+= -L${.OBJDIR:H} -lcrypt
+DPADD+= ${LIBCRYPT}
+LDADD+= -lcrypt
.include <bsd.test.mk>
OpenPOWER on IntegriCloud