svn commit: r554032 - head/ports-mgmt/synth
Steve Wills
swills at FreeBSD.org
Tue Nov 3 20:27:35 UTC 2020
Author: swills
Date: Tue Nov 3 20:27:34 2020
New Revision: 554032
URL: https://svnweb.freebsd.org/changeset/ports/554032
Log:
ports-mgmt/synth: allow using base ncurses
PR: 244142
Approved by: ericbsd (maintainer)
Modified:
head/ports-mgmt/synth/Makefile (contents, props changed)
Modified: head/ports-mgmt/synth/Makefile
==============================================================================
--- head/ports-mgmt/synth/Makefile Tue Nov 3 20:26:20 2020 (r554031)
+++ head/ports-mgmt/synth/Makefile Tue Nov 3 20:27:34 2020 (r554032)
@@ -4,6 +4,7 @@
PORTNAME= synth
DISTVERSIONPREFIX= v
DISTVERSION= 2.08
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MAINTAINER= ericbsd at FreeBSD.org
@@ -12,11 +13,10 @@ COMMENT= Custom package repository builder for FreeBSD
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/License.txt
-BUILD_DEPENDS= ${LOCALBASE}/lib/libncurses.a:devel/ncurses \
- ${GPR}/ini_file_manager.gpr:misc/ini_file_manager \
+BUILD_DEPENDS= ${GPR}/ini_file_manager.gpr:misc/ini_file_manager \
${GPR}/adacurses.gpr:devel/adacurses
-USES= ada:6
+USES= ada:6 ncurses:base
USE_GITHUB= yes
GH_ACCOUNT= jrmarino
@@ -29,6 +29,14 @@ OPTIONS_DEFAULT=WATCHDOG
WATCHDOG_DESC= Build with watchdog monitor
WATCHDOG_EXTRA_PATCHES_OFF= ${FILESDIR}/extrapatch-nowatchdog-portscan-buildcycle.adb
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
+USES+= ncurses:base
+.else
+USES+= ncurses:port
+.endif
.include <bsd.port.pre.mk>
More information about the svn-ports-all
mailing list