mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Don't try to run wxconfig if it doesn't exist; simply
depend on gtk12 in that case.
This commit is contained in:
parent
608ef6a719
commit
50fb7927fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79477
@ -52,8 +52,12 @@ post-install:
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${WX_CONFIG})
|
||||
# detect if wxgtk was linked against gtk1 or gtk2
|
||||
DECISION_GTK_1_OR_2!= ${WX_CONFIG} --cppflags
|
||||
.else
|
||||
DECISION_GTK_1_OR_2= ""
|
||||
.endif
|
||||
|
||||
.if (${DECISION_GTK_1_OR_2:Mgtk2} != "")
|
||||
USE_GNOME+= gtk20
|
||||
|
@ -52,8 +52,12 @@ post-install:
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${WX_CONFIG})
|
||||
# detect if wxgtk was linked against gtk1 or gtk2
|
||||
DECISION_GTK_1_OR_2!= ${WX_CONFIG} --cppflags
|
||||
.else
|
||||
DECISION_GTK_1_OR_2= ""
|
||||
.endif
|
||||
|
||||
.if (${DECISION_GTK_1_OR_2:Mgtk2} != "")
|
||||
USE_GNOME+= gtk20
|
||||
|
@ -52,8 +52,12 @@ post-install:
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${WX_CONFIG})
|
||||
# detect if wxgtk was linked against gtk1 or gtk2
|
||||
DECISION_GTK_1_OR_2!= ${WX_CONFIG} --cppflags
|
||||
.else
|
||||
DECISION_GTK_1_OR_2= ""
|
||||
.endif
|
||||
|
||||
.if (${DECISION_GTK_1_OR_2:Mgtk2} != "")
|
||||
USE_GNOME+= gtk20
|
||||
|
Loading…
Reference in New Issue
Block a user