Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream. Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.
Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix. Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS. This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.
PR: 190592
Exp-run by: antoine
Approved by: portmgr (antoine)9f8b4bcde3Port details
sysutils/htop 3.5.3
Better top(1) - interactive process viewer
Port info
- Maintainer
- gaod@hychen.org
- Packages
- latest: 3.5.3
- Upstream
- up to date
- Last update
- to 3.5.3 · 868603dba5
- Quarterly
- 2026Q4: 3.5.3
- WWW
- https://htop.dev/
- Links
- cgit · VuXML
Install
- Package
# pkg install htopinstalls 3.5.3 fromlatest; fromquarterly(2026Q4) 3.5.3- Port
# cd /usr/ports/sysutils/htop && make install clean# make -C /usr/ports/sysutils/htop config # change options first
- Size
- 120 KiB download · 289 KiB installed
- Depends on
- devel/libunwind 20250904
- License
- GPLv2
- Options
- 0 of 1 on in the package
Show the 1 options that are off
LSOF
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 3.5.3 | 3.5.3 | – |
| FreeBSD 15 | 3.5.3 | 3.5.3 | – |
| FreeBSD 14 | 3.5.3 | 3.5.3 | 3.5.3 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 3.5.3 | 3.5.3 | – |
| FreeBSD 14 | 3.5.3 | 3.5.3 | 3.5.3 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 3.5.3.Fixed (0)
No VuXML entries for this package.
Problem reports (2) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 207120 | maintainer-feedback? sysutils/htop memory percentage column all 0% | Open | 2026-07-18 |
| 291473 | maintainer-feedback? sysutils/htop memory bar misrepresent available space | New | 2026-06-05 |
Commits (86)
- Switch to USES=libtool Approved by: portmgr blanket0f11dc56f2
- Remove leading indefinite article from COMMENT - Convert to new LIB_DEPENDS format - Convert to new options helper - Fix USE_PYTHON_BUILD - Support STAGEDIR Approved by: portmgr (blanket)5ae7e9d35d
Python cleanup: - USE_PYTHON* = 2.X -> USE_PYTHON* = 2 - USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes Reviewed by: python (mva, rm) Approved by: portmgr-lurkers (mat)50f8eaece1
- Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [st]) Approved by: portmgr (bdrewery)db25d63f5a
Add NO_STAGE all over the place in preparation for the staging support (cat: sysutils)83f65384c9
Let htop build when python 3 is default. Approved by: maintainer timeout (2 weeks)cf3dff6c04
Fix pkg-message instructions. Change package message so that the fstab line includes the late option so that it doesn't fail to boot if /usr is on a different partition. PR: ports/178690 Submitted by: swills Approved by: Hung-Yi Chen <gaod@hychen.org> (maintainer)9237589cb5
Convert USE_NCURSES by USES=ncurses Convert USE_READLINE by USES=readline9f1de9b900
- Update to 1.0.2 - Convert to new options framework - Trim Makefile headers PR: ports/178010 Submitted by: Hung-Yi Chen <gaod@hychen.org> (maintainer)9575980d92
- Fix swap size calculation on i386 - Bump PORTREVISION PR: ports/169174 Submitted by: vsjcfm@gmail.com Approved by: maintainer (timeout,14 days)5ce613c55f
Add patches to show correct memory usage on FreeBSD PR: ports/167970 Submitted by: Sayetsky Anton <vsjcfm@gmail.com> Approved by: maintainer09c70cf036
Update to version 1.0.1 PR: ports/165661 Submitted by: maintainerd0830eebe1
Mark broken on powerpc as well as sparc64. (In fact, on all the tier-2s.) Hat: portmgr7d8608ab13
- Fix calculation of available memory PR: ports/157195 Submitted by: Sayetsky Anton <jason@linux.lg.ua> Approved by: Hung-Yi Chen <gaod@hychen.org> (maintainer)6962354065
- Update to 0.9 - Transfer maintainership to the submitter PR: ports/153529 Submitted by: Hung-Yi Chen <gaod@hychen.org> Approved by: maintainer timeout (yzlin; 7 months)3850ec3bee
Add a new macro to deal with conflict between ncurses from base and ncurses from ports. If a ports is linked against ncurses from base or from the ports, it should then add: USE_NCURSES=yes it is also possible to specify the hard dependency on the ports ncurses or one the base one adding the following macros: WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes PR: ports/155269 Submitted by: me Reviwed by: pav@ Approved by: portmgr (pav@) Exp-run by: portmgr (pav@)8d27ddb9bd
- Get Rid MD5 supporta9481afc8a
Sync to new bsd.autotools.mk4a8684e352
Punt autoconf267->autoconf2686abd00a86b
Round one migration of ports from automake{19,110} to automake1117e80cde328Autotools update. Read ports/UPDATING 20100915 for details. Approved by: portmgr (for Mk/bsd.port.mk part) Tested by: Multiple -exp runs8262a7b51d
- pull some upstream svn fixes o simply the code o lsof failure checks o coverity fixes PR: ports/143222 Submitted by: Hung-Yi Chen <gaod@hychen.org> Approved by: maintainer timeout (yzlin ; 220 days)b1e12b65f0
- Update to 0.8.3 Approved by: rafan (co-mentor)80fd2dfdd1
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22. -Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr789d75c728
- Change to my mail address at FreeBSD.org Approved by: lwhsu (mentor)d881f6af28
- Update to 0.8.2 - Pass maintainership to submitter PR: 135205 Submitted by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>c6fa4af61c
- Reset inactive maintainer9775bd0987
- Fix tree view PR: ports/132909 Submitted by: Hung-Yi Chen <gaod@hychen.org> Approved by: maintainer timeout (1 month)fb4139831a
- Update to 0.8.1 PR: ports/131345 Submitted by: Hardy Schumacher <hardy.schumacher@amd.com> Approved by: maintainer timeout (2 weeks)9de6e4cf55
Conversion from (now defunct) autoconf-2.61 to autoconf-2.62 Tested by: exp build run (erwin)771ea13f41
- Update to 0.8 - Enable unicode support - Disable plsa lib (CPU affinity) PR: ports/125671 Submitted by: Yi-Jheng Lin <yzlin at cs.nctu.edu.tw> Approved by: Tony Shadwick <tshadwick at oss-solutions.com> (maintainer)a275b9de9c
- Mark not_for_archs sparc64 Approved by: Tony Shadwick <tshadwick@oss-solutions.com> (maintainer)8291ed1b5b
Requires linprocfs, so not suitable for sparc64. Approved by: portmgr (self)38db960a04
- Add check for linprocfs before configure. Requested by: Tony Shadwick <tshadwick@oss-solutions.com> (maintainer) Approved by: sat (mentor)209e900b99
- New port htop htop is an enhanced version of top, the interactive process viewer, which can display the list of processes in a tree form. PR: ports/115873 Submitted by: Tony Shadwick <tshadwick@oss-solutions.com> (maintainer) Approved by: sat (mentor)a522766854