diff --git a/net-mgmt/collectd/Makefile b/net-mgmt/collectd/Makefile index 1b7cedf55c8b..710ac33172ce 100644 --- a/net-mgmt/collectd/Makefile +++ b/net-mgmt/collectd/Makefile @@ -40,8 +40,7 @@ MAN5= collectd.conf.5 collectd-email.5 collectd-exec.5 \ collectd-java.5 collectd-python.5 types.db.5 USE_RC_SUBR= collectd collectdmon -USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} \ - ${PREFIX}/lib +USE_LDCONFIG= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile index 1b7cedf55c8b..710ac33172ce 100644 --- a/net-mgmt/collectd5/Makefile +++ b/net-mgmt/collectd5/Makefile @@ -40,8 +40,7 @@ MAN5= collectd.conf.5 collectd-email.5 collectd-exec.5 \ collectd-java.5 collectd-python.5 types.db.5 USE_RC_SUBR= collectd collectdmon -USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} \ - ${PREFIX}/lib +USE_LDCONFIG= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib"