pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/jp2a: adjust options.mk
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%NetBSD.org@localhost>
Pushed By: ng0
Date: Sat Dec 28 17:36:42 2019 +0000
Changeset: e99f0e81101dc026c758ec3c29a81957e1ee12b6
Modified Files:
jp2a/options.mk
Log Message:
wip/jp2a: adjust options.mk
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e99f0e81101dc026c758ec3c29a81957e1ee12b6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
jp2a/options.mk | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diffs:
diff --git a/jp2a/options.mk b/jp2a/options.mk
index 7f794f22e3..7efa1a350e 100644
--- a/jp2a/options.mk
+++ b/jp2a/options.mk
@@ -6,18 +6,16 @@ PKG_SUGGESTED_OPTIONS= curses
.include "../../mk/bsd.options.mk"
-.if empty(PKG_OPTIONS:Mcurl)
-CONFIGURE_ARGS+= --disable-curl
-.endif
-
-.if empty(PKG_OPTIONS:Mcurses)
-CONFIGURE_ARGS+= --disable-termlib
-.endif
-
.if !empty(PKG_OPTIONS:Mcurl)
+CONFIGURE_ARGS+= --enable-curl
.include "../../www/curl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-curl
.endif
.if !empty(PKG_OPTIONS:Mcurses)
.include "../../mk/curses.buildlink3.mk"
+CONFIGURE_ARGS+= --enable-termlib
+.else
+CONFIGURE_ARGS+= --disable-termlib
.endif
Home |
Main Index |
Thread Index |
Old Index