forked from omniti-labs/omnios-build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libgmp: Resolve duplicate dependency
- Loading branch information
Showing
3 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
<transform depend type=require-any -> drop> | ||
|
||
depend type=require fmri=system/library/g++-5-runtime | ||
depend type=require fmri=system/library/gcc-5-runtime | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -656,6 +656,24 @@ make_package() { | |
MANUAL_DEPS=$TMPDIR/${PKGE}.deps.mog | ||
GLOBAL_MOG_FILE=$MYDIR/global-transforms.mog | ||
MY_MOG_FILE=$TMPDIR/${PKGE}.mog | ||
[ -f $SRCDIR/local.mog ] && \ | ||
LOCAL_MOG_FILE=$SRCDIR/local.mog || LOCAL_MOG_FILE= | ||
EXTRA_MOG_FILE= | ||
FINAL_MOG_FILE= | ||
if [ -n "$1" ]; then | ||
if [[ "$1" = /* ]]; then | ||
EXTRA_MOG_FILE="$1" | ||
else | ||
EXTRA_MOG_FILE="$SRCDIR/$1" | ||
fi | ||
fi | ||
if [ -n "$2" ]; then | ||
if [[ "$2" = /* ]]; then | ||
FINAL_MOG_FILE="$2" | ||
else | ||
FINAL_MOG_FILE="$SRCDIR/$2" | ||
fi | ||
fi | ||
|
||
## Strip leading zeros in version components. | ||
VER=`echo $VER | sed -e 's/\.0*\([1-9]\)/.\1/g;'` | ||
|
@@ -685,11 +703,8 @@ make_package() { | |
echo "set name=pkg.summary value=\"$SUMMARY\"" >> $MY_MOG_FILE | ||
echo "set name=pkg.descr value=\"$DESCSTR\"" >> $MY_MOG_FILE | ||
echo "set name=publisher value=\"[email protected]\"" >> $MY_MOG_FILE | ||
if [[ -f $SRCDIR/local.mog ]]; then | ||
LOCAL_MOG_FILE=$SRCDIR/local.mog | ||
fi | ||
logmsg "--- Applying transforms" | ||
$PKGMOGRIFY $XFORM_ARGS $P5M_INT $MY_MOG_FILE $GLOBAL_MOG_FILE $LOCAL_MOG_FILE $* | $PKGFMT -u > $P5M_INT2 | ||
$PKGMOGRIFY $XFORM_ARGS $P5M_INT $MY_MOG_FILE $GLOBAL_MOG_FILE $LOCAL_MOG_FILE $EXTRA_MOG_FILE | $PKGFMT -u > $P5M_INT2 | ||
logmsg "--- Resolving dependencies" | ||
( | ||
set -e | ||
|
@@ -748,7 +763,8 @@ make_package() { | |
fi | ||
done | ||
fi | ||
$PKGMOGRIFY "${P5M_INT3}.res" "$MANUAL_DEPS" | $PKGFMT -u > $P5M_FINAL | ||
$PKGMOGRIFY "${P5M_INT3}.res" "$MANUAL_DEPS" $FINAL_MOG_FILE | \ | ||
$PKGFMT -u > $P5M_FINAL | ||
if [[ -z $SKIP_PKGLINT ]] && ( [[ -n $BATCH ]] || ask_to_pkglint ); then | ||
$PKGLINT -c $TMPDIR/lint-cache -r $PKGSRVR $P5M_FINAL || \ | ||
logerr "----- pkglint failed" | ||
|