Move the WITH_JAVA_AWT bits into the ! WITHOUT_JAVA branch, that is,
enable this only when Java is enabled. PR: 111544
This commit is contained in:
parent
8ad3309581
commit
33485bdc0f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190128
@ -109,9 +109,6 @@ MAN1+= gcj${SUFFIX}.1 \
|
||||
rmic${SUFFIX}.1 rmiregistry${SUFFIX}.1
|
||||
INFO+= gcc${SUFFIX}/gcj
|
||||
PLIST_SUB+= JAVA=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-libgcj
|
||||
PLIST_SUB+= JAVA="@comment "
|
||||
|
||||
.if defined(WITH_JAVA_AWT)
|
||||
LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo
|
||||
@ -120,6 +117,9 @@ CONFIGURE_ARGS+= --enable-java-awt=gtk,xlib \
|
||||
--enable-gtk-cairo
|
||||
.endif
|
||||
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-libgcj
|
||||
PLIST_SUB+= JAVA="@comment "
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
|
Loading…
Reference in New Issue
Block a user