aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cpu
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2006-05-28 09:44:07 +0800
committerperky <perky@FreeBSD.org>2006-05-28 09:44:07 +0800
commit0e25556ad7e0080ca40e2baeeeccc6c9d6a47bfb (patch)
treeb5f5f11c37f48ecf3a2a9acd44a25d38aa84d9f4 /sysutils/cpu
parent8646866b4fc56f13b196b819f272174ac77fe65d (diff)
downloadfreebsd-ports-graphics-0e25556ad7e0080ca40e2baeeeccc6c9d6a47bfb.tar.gz
freebsd-ports-graphics-0e25556ad7e0080ca40e2baeeeccc6c9d6a47bfb.tar.zst
freebsd-ports-graphics-0e25556ad7e0080ca40e2baeeeccc6c9d6a47bfb.zip
Fix build by unhiding deprecated functions for OpenLDAP 2.3
Reported by: Jason Lixfeld <jason@lixfeld.ca>
Diffstat (limited to 'sysutils/cpu')
-rw-r--r--sysutils/cpu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysutils/cpu/Makefile b/sysutils/cpu/Makefile
index 1c8a69d2ecb..a15c894d1d4 100644
--- a/sysutils/cpu/Makefile
+++ b/sysutils/cpu/Makefile
@@ -20,6 +20,7 @@ USE_BZIP2= yes
USE_OPENLDAP= yes
INSTALLS_SHLIB= 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