mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Force libxul include directory and allow building IcedTea-Web plugin with
an ancient xulrunner (i.e., 1.9.2.9 and earlier). This commit should fix: PR: ports/155381
This commit is contained in:
parent
42187a24f9
commit
6fbc8496ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271950
@ -48,8 +48,12 @@ CFLAGS+= -DJDK_UPDATE_VERSION="\"${JDK_UPDATE_VERSION}\"" \
|
||||
-DPLUGIN_NAME="\"${PLUGIN_NAME}\"" \
|
||||
-DPLUGIN_VERSION="\"${PLUGIN_VERSION}\"" \
|
||||
-DPACKAGE_URL="\"${PACKAGE_URL}\"" \
|
||||
-DMOZILLA_VERSION_COLLAPSED="${MOZILLA_VERSION2}" \
|
||||
${PLUGIN_CFLAGS}
|
||||
-DMOZILLA_VERSION_COLLAPSED="${MOZILLA_VERSION2}"
|
||||
.if ${MOZILLA_VERSION2} >= 1090200
|
||||
CFLAGS+= ${PLUGIN_CFLAGS:S,/libxul/stable,/libxul,}
|
||||
.else
|
||||
CFLAGS+= ${PLUGIN_CFLAGS:S,/libxul/stable,/libxul/unstable,}
|
||||
.endif
|
||||
LDFLAGS+= ${PLUGIN_LIBS}
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user