summaryrefslogtreecommitdiff
path: root/sysutils/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cpu')
-rw-r--r--sysutils/cpu/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/cpu/Makefile b/sysutils/cpu/Makefile
index a15c894d1d4f..b6e419a1e43c 100644
--- a/sysutils/cpu/Makefile
+++ b/sysutils/cpu/Makefile
@@ -18,11 +18,14 @@ COMMENT= Change Password Utility for LDAP
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_OPENLDAP= yes
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/cpu --with-ldap=${LOCALBASE}
CONFIGURE_ENV= CPPFLAGS="-DLDAP_DEPRECATED"
MAN5= cpu.conf.5
MAN8= cpu.8 cpu-ldap.8
+post-patch:
+ @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
+
.include <bsd.port.mk>