Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F9738076
Command-Line Input
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
swills
Oct 9 2020, 4:35 PM
2020-10-09 16:35:09 (UTC+0)
Size
703 B
Referenced Files
None
Subscribers
None
Command-Line Input
View Options
diff --git sysutils/mtm/Makefile sysutils/mtm/Makefile
index 90315ca0ec6b..6895e8e40305 100644
--- sysutils/mtm/Makefile
+++ sysutils/mtm/Makefile
@@ -11,7 +11,8 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/README.rst
# NB: ncurses 6.1 is required.
-USES= localbase:ldflags ncurses:port
+USES= localbase:ldflags
+
USE_CSTD= gnu99
USE_GITHUB= yes
GH_ACCOUNT= deadpixi
@@ -32,4 +33,12 @@ do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/mtm.ti ${STAGEDIR}${DATADIR}/mtm.ti
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
+USES+= ncurses:base
+.else
+USES+= ncurses:port
+.endif
+
+.include <bsd.port.post.mk>
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2840319
Default Alt Text
Command-Line Input (703 B)
Attached To
Mode
P435 Command-Line Input
Attached
Detach File
Event Timeline
Log In to Comment