mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Replace USE_AUTOTOOLS and pre-configure with a plain build dependency on
devel/autoconf. The upstream build system runs autoconf to regenerate generated-configure.sh.
This commit is contained in:
parent
26be1b3ac4
commit
03948507f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457243
@ -39,6 +39,7 @@ COMMENT?= Java Development Kit ${JDK_MAJOR_VERSION}
|
||||
LICENSE= GPLv2
|
||||
|
||||
BUILD_DEPENDS= zip:archivers/zip \
|
||||
autoconf>0:devel/autoconf \
|
||||
${LOCALBASE}/include/cups/cups.h:print/cups \
|
||||
bash:shells/bash
|
||||
LIB_DEPENDS= libfreetype.so:print/freetype2
|
||||
@ -47,7 +48,6 @@ RUN_DEPENDS= javavm:java/javavmwrapper \
|
||||
|
||||
USES= compiler:features dos2unix gmake iconv pkgconfig \
|
||||
shebangfix
|
||||
USE_AUTOTOOLS= autoconf
|
||||
|
||||
.if !exists(/usr/bin/unzip)
|
||||
BUILD_DEPENDS+= ${UNZIP_CMD}:archivers/unzip
|
||||
@ -211,6 +211,7 @@ JTREG_VERSION= 4.1
|
||||
JTREG_BUILD_NUMBER= b08
|
||||
JTREG_JENKINS_BUILD= 77
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR}
|
||||
CONFIGURE_ARGS+= --with-build-number="b${JDK_BUILD_NUMBER}"
|
||||
.if ${JDK_UPDATE_VERSION} > 0
|
||||
@ -293,8 +294,6 @@ JAVAVMS_COMMENT+= JRE
|
||||
JDK_BUILD_TYPE= release
|
||||
.endif
|
||||
|
||||
AUTOCONF_ARGS= -I . -o generated-configure.sh generated-configure.ac
|
||||
|
||||
# XXX configure script rejects CC/CPP/CXX with absolute paths.
|
||||
.for t in CC CPP CXX
|
||||
.if defined(${t}) && ${${t}:M/*}
|
||||
@ -411,11 +410,6 @@ post-patch-ALSA-off:
|
||||
@${REINPLACE_CMD} '/EXTRA_SOUND_JNI_LIBS += jsoundalsa/d' \
|
||||
${WRKSRC}/jdk/make/lib/SoundLibraries.gmk
|
||||
|
||||
pre-configure:
|
||||
@cd ${CONFIGURE_WRKSRC} && \
|
||||
${SED} -e "s|@DATE_WHEN_GENERATED@|$$(date +%s)|" configure.ac > \
|
||||
generated-configure.ac
|
||||
|
||||
post-build:
|
||||
.if !defined(BUILD_JRE)
|
||||
@${BOOTSTRAPJDKDIR}/bin/jar cfe \
|
||||
|
Loading…
Reference in New Issue
Block a user