FreeBSD Bugzilla – Attachment 42565 Details for
Bug 66349
[PATCH] net/javadc: fix build on bento [requires bsd.java.mk patch]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.08 KB, created by
Hervé Quiroz
on 2004-05-07 08:30:29 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Hervé Quiroz
Created:
2004-05-07 08:30:29 UTC
Size:
3.08 KB
patch
obsolete
>Index: bsd.java.mk >=================================================================== >--- bsd.java.mk (revision 139) >+++ bsd.java.mk (working copy) >@@ -115,8 +115,8 @@ > # suitable > # Stage 4: <REMOVED> (merged in stage 3) > # Stage 5: Decide the exact JDK to use (or install) >-# Stage 6: Define all settings for the port to use >-# Stage 7: Add any dependencies if necessary >+# Stage 6: Add any dependencies if necessary >+# Stage 7: Define all settings for the port to use > # > > . if defined(USE_JAVA) >@@ -371,8 +371,38 @@ > JAVA_PORT_VENDOR_DESCRIPTION:= ${JAVA_PORT_VENDOR:S/^/\${_JAVA_VENDOR_/:S/$/}/} > JAVA_PORT_OS_DESCRIPTION:= ${JAVA_PORT_OS:S/^/\${_JAVA_OS_/:S/$/}/} > >+#------------------------------------------------------------------------------- >+# Stage 6: Add any dependencies if necessary >+# >+ >+# Add the JDK port to the dependencies >+DEPEND_JAVA= ${JAVA}:${PORTSDIR}/${JAVA_PORT} >+# When nothing is set, assume JAVA_BUILD=jdk and JAVA_RUN=jre >+# (unless NO_BUILD is set) >+. if !defined(JAVA_EXTRACT) && !defined(JAVA_BUILD) && !defined(JAVA_RUN) >+. if !defined(NO_BUILD) >+JAVA_BUILD= jdk >+. endif >+JAVA_RUN= jre >+. endif >+. if defined(JAVA_EXTRACT) >+EXTRACT_DEPENDS+= ${DEPEND_JAVA} >+. endif >+. if defined(JAVA_BUILD) >+. if defined(NO_BUILD) >+.BEGIN: >+ @${ECHO_CMD} "${PKGNAME}: JAVA_BUILD and NO_BUILD cannot be set at the same time."; >+ @${FALSE} >+. endif >+BUILD_DEPENDS+= ${DEPEND_JAVA} >+. endif >+. if defined(JAVA_RUN) >+RUN_DEPENDS+= ${DEPEND_JAVA} >+. endif >+ >+ > #----------------------------------------------------------------------------- >-# Stage 6: Define all settings for the port to use >+# Stage 7: Define all settings for the port to use > # > # At this stage both JAVA_HOME and JAVA_PORT are definitely given a value. > # >@@ -401,7 +431,7 @@ > . if (${JAVA_BUILD} == "jdk" || ${JAVA_BUILD} == "JDK") && !defined(JAVAC) > # Use jikes if available and not explicitly forbidden > . if exists(${_JIKES_PATH}) && !defined(USE_JIKES) >-JAVAC= ${_JIKES_PATH} >+JAVAC= ${_JIKES_PATH} -bootclasspath ${JAVA_CLASSES} > BUILD_DEPENDS+= ${DEPEND_JIKES} > # Otherwise use 'javac' > . else >@@ -438,36 +468,6 @@ > > > #------------------------------------------------------------------------------- >-# Stage 7: Add any dependencies if necessary >-# >- >-# Add the JDK port to the dependencies >-DEPEND_JAVA= ${JAVA}:${PORTSDIR}/${JAVA_PORT} >-# When nothing is set, assume JAVA_BUILD=jdk and JAVA_RUN=jre >-# (unless NO_BUILD is set) >-. if !defined(JAVA_EXTRACT) && !defined(JAVA_BUILD) && !defined(JAVA_RUN) >-. if !defined(NO_BUILD) >-JAVA_BUILD= jdk >-. endif >-JAVA_RUN= jre >-. endif >-. if defined(JAVA_EXTRACT) >-EXTRACT_DEPENDS+= ${DEPEND_JAVA} >-. endif >-. if defined(JAVA_BUILD) >-. if defined(NO_BUILD) >-.BEGIN: >- @${ECHO_CMD} "${PKGNAME}: JAVA_BUILD and NO_BUILD cannot be set at the same time."; >- @${FALSE} >-. endif >-BUILD_DEPENDS+= ${DEPEND_JAVA} >-. endif >-. if defined(JAVA_RUN) >-RUN_DEPENDS+= ${DEPEND_JAVA} >-. endif >- >- >-#------------------------------------------------------------------------------- > # Additional Java support > > # Debug target >--- bsd.java.mk.patch ends here ---
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 66349
:
42564
| 42565