diff options
| author | spz <spz@NetBSD.org> | 2012-12-09 22:06:21 +0000 |
|---|---|---|
| committer | spz <spz@NetBSD.org> | 2012-12-09 22:06:21 +0000 |
| commit | 9635f923eba7a0083d80c4cd4bbe8316af445689 (patch) | |
| tree | 62d3ed2e601739d99591b446069dcab4aaf0e6e4 /lib/npf/ext_log | |
| parent | cc39fad20b082fe28c6884d937005b3cccd9f624 (diff) | |
Make the compat libs of npf extension shared libraries go to the
compat directories instead of overwriting the arch native libs.
Also, make sure the compat directories get created. Tested on amd64.
Diffstat (limited to 'lib/npf/ext_log')
| -rw-r--r-- | lib/npf/ext_log/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/npf/ext_log/Makefile b/lib/npf/ext_log/Makefile index b51f59f2c3c..01f391f1bd8 100644 --- a/lib/npf/ext_log/Makefile +++ b/lib/npf/ext_log/Makefile @@ -1,9 +1,17 @@ -# $NetBSD: Makefile,v 1.1 2012/09/16 13:47:42 rmind Exp $ +# $NetBSD: Makefile,v 1.2 2012/12/09 22:06:21 spz Exp $ .include <bsd.own.mk> LIBISMODULE= yes -LIBDIR= /usr/lib/npf +.if defined(MLIBDIR) +LIBDIR= /usr/lib/${MLIBDIR}/npf +SHLIBDIR= /usr/lib/${MLIBDIR}/npf +SHLIBINSTALLDIR=/usr/lib/${MLIBDIR}/npf +.else +LIBDIR= /usr/lib/npf +SHLIBDIR= /usr/lib/npf +SHLIBINSTALLDIR=/usr/lib/npf +.endif LIB= ext_log |
