Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147036379
D53186.id164583.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D53186.id164583.diff
View Options
diff --git a/release/Makefile.oracle b/release/Makefile.oracle
--- a/release/Makefile.oracle
+++ b/release/Makefile.oracle
@@ -24,21 +24,28 @@
# Syncing to all sites should take 2-3 hours after this final step.
ORACLE_BASENAME= ${OSRELEASE}-${BUILDDATE}${GITREV:C/^(.+)/-\1/}
-ORACLE_PORTS_LIST= ftp/curl emulators/qemu@tools
CLEANFILES+= cw-oracle-portinstall
cw-oracle-portinstall: .PHONY
-.if !exists(/usr/local/bin/curl) || !exists(/usr/local/bin/qemu-img)
-. if !exists(${PORTSDIR}/Makefile)
-. if !exists(/usr/local/sbin/pkg-static)
+.if (!exists(/usr/local/bin/curl) || !exists(/usr/local/bin/qemu-img)) && !exists(${PORTSDIR}/Makefile)
+. if !exists(/usr/local/sbin/pkg-static)
env ASSUME_ALWAYS_YES=yes pkg bootstrap -yf
-. endif
- env ASSUME_ALWAYS_YES=yes pkg install -y ${ORACLE_PORTS_LIST}
+. endif
+.endif
+.if !exists(/usr/local/bin/curl)
+. if !exists(${PORTSDIR}/Makefile)
+ env ASSUME_ALWAYS_YES=yes pkg install -y ftp/curl
. else
env UNAME_r=${UNAME_r} make -C \
${PORTSDIR}/ftp/curl \
BATCH=1 WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles \
all install clean
+. endif
+.endif
+.if !exists(/usr/local/bin/qemu-img)
+. if !exists(${PORTSDIR}/Makefile)
+ env ASSUME_ALWAYS_YES=yes pkg install -y emulators/qemu@tools
+. else
env UNAME_r=${UNAME_r} FLAVOR=tools make -C \
${PORTSDIR}/emulators/qemu \
BATCH=1 WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 8, 7:31 PM (16 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29388347
Default Alt Text
D53186.id164583.diff (1 KB)
Attached To
Mode
D53186: release: split up Oracle Cloudware tools
Attached
Detach File
Event Timeline
Log In to Comment