aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/net-snmp
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-06-16 00:44:16 +0800
committersobomax <sobomax@FreeBSD.org>2000-06-16 00:44:16 +0800
commitf359ee78885faedfb9fd1259c36133038ac50245 (patch)
treee149280677fe44f0552faf757470ea0023906ed0 /net-mgmt/net-snmp
parent124867154b7cf447efaed5aa7238f231be993f70 (diff)
downloadfreebsd-ports-gnome-f359ee78885faedfb9fd1259c36133038ac50245.tar.gz
freebsd-ports-gnome-f359ee78885faedfb9fd1259c36133038ac50245.tar.zst
freebsd-ports-gnome-f359ee78885faedfb9fd1259c36133038ac50245.zip
First round of INSTALL_SHLIB fixes.
Diffstat (limited to 'net-mgmt/net-snmp')
-rw-r--r--net-mgmt/net-snmp/Makefile4
-rw-r--r--net-mgmt/net-snmp/pkg-plist2
2 files changed, 2 insertions, 4 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index d1ba408bdd6c..5de79dd1a4a9 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -14,7 +14,8 @@ MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \
MAINTAINER= billf@FreeBSD.org
-USE_AUTOCONF= YES
+USE_AUTOCONF= yes
+INSTALL_SHLIBS= yes
CONFIGURE_ARGS+= --enable-shared
.if defined(BATCH)
CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where
@@ -69,6 +70,5 @@ post-install:
${ECHO} "[ -x ${PREFIX}/sbin/snmpd ] && ${PREFIX}/sbin/snmpd && ${ECHO} -n ' snmpd'" >> ${STARTUP_FILE}; \
${CHMOD} 751 ${STARTUP_FILE}; \
fi
- ${SETENV} OBJFORMAT="${PORTOBJFORMAT}" ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>
diff --git a/net-mgmt/net-snmp/pkg-plist b/net-mgmt/net-snmp/pkg-plist
index 8509ad640db2..f14ce4af4ab9 100644
--- a/net-mgmt/net-snmp/pkg-plist
+++ b/net-mgmt/net-snmp/pkg-plist
@@ -103,5 +103,3 @@ share/snmp/mibs/UDP-MIB.txt
@unexec rm -f %D/share/snmp/mibs/.index
@dirrm share/snmp/mibs
@dirrm share/snmp
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R