Commit aca34be7 authored by jan.koester's avatar jan.koester
Browse files

test

parent 4242a32a
Loading
Loading
Loading
Loading
+7 −1
Changes for packaging/build-freebsd.sh: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -256,8 +256,14 @@ EOF
# origins), so they cannot be declared as pkg 'deps' here — see comment at
# the top of this script. Run 'ldd $PREFIX/bin/blogi' to inspect at runtime.

# pkg create's "-m metadatadir -r rootdir" combo does not reliably auto-walk
# the whole staged tree — the standard way to build a package outside the
# ports tree is to hand it an explicit plist of every staged file.
PLIST="$WORK_DIR/pkg-plist"
( cd "$STAGE_DIR" && find . \( -type f -o -type l \) | sed 's|^\./||' ) > "$PLIST"

info "Building pkg(8) package"
pkg create -m "$MANIFEST_DIR" -r "$STAGE_DIR" -o "$OUTPUT_DIR"
pkg create -m "$MANIFEST_DIR" -r "$STAGE_DIR" -p "$PLIST" -o "$OUTPUT_DIR"

info "Done — package in $OUTPUT_DIR"
ls "$OUTPUT_DIR"/blogi-*