mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
bb8a25690e
- Remove some patches that are now applied on the source code [1] - Use OPTIONS for some dependencies now - Makefile and build script changes causing build to fail-fast rather than continue when errors occur; also explicitly build options rather than allowing build failures - Misc other simple build fixes Removed file(s) [1]: - files/patch-clip::clip_makeslib.in - files/patch-cliplibs::clip-gd::gd::gdft.c - files/patch-cliplibs::clip-gtkextra::configure - files/patch-gd::configure PR: ports/78536 [1] Submitted by: Renato Botelho <renato@galle.com.br> Approved by: clement (mentor)
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
--- mklocal.orig Tue Jul 20 18:59:08 2004
|
|
+++ mklocal Sun Apr 17 11:28:48 2005
|
|
@@ -1,5 +1,8 @@
|
|
#!/bin/sh
|
|
|
|
+# FreeBSD changes:
|
|
+# - add a number of '|| exit' so the build will stop immediately at any
|
|
+# failure (rather than being detected later when packaging)
|
|
|
|
for opt in $*
|
|
do
|
|
@@ -89,7 +92,7 @@
|
|
# ./configure ${RFLAG} ${CLIP_CONFIGURE_FLAGS}
|
|
# $MAKE install || exit 2
|
|
./configure ${RFLAG} ${CLIP_CONFIGURE_FLAGS} || exit 2
|
|
- $MAKE install DESTDIR=${DESTDIR}
|
|
+ $MAKE install DESTDIR=${DESTDIR} || exit 2
|
|
cd $pwd
|
|
|
|
fi
|
|
@@ -106,12 +109,12 @@
|
|
#$MAKE install
|
|
|
|
#(
|
|
- cd cliplibs
|
|
+ cd cliplibs || exit 2
|
|
CLIPROOT=${DESTDIR}${CLIPROOT}
|
|
LD_LIBRARY_PATH=${DESTDIR}/usr/lib:$LD_LIBRARY_PATH
|
|
export CLIPROOT LD_LIBRARY_PATH
|
|
- $MAKE
|
|
- $MAKE install DESTDIR=''
|
|
+ $MAKE || exit 2
|
|
+ $MAKE install DESTDIR='' || exit 2
|
|
#)
|
|
|
|
cd $pwd
|
|
@@ -133,8 +136,8 @@
|
|
# CLIPROOT=${DESTDIR}${CLIPROOT}
|
|
# LD_LIBRARY_PATH=${DESTDIR}/usr/lib:$LD_LIBRARY_PATH
|
|
# export CLIPROOT LD_LIBRARY_PATH
|
|
- $MAKE
|
|
- $MAKE install
|
|
+ $MAKE || exit 3
|
|
+ $MAKE install || exit 3
|
|
# ${DESTDIR}${CLIPROOT}/bin/clip_msgmerge
|
|
# ${DESTDIR}${CLIPROOT}/bin/clip_msgfmt
|
|
# )
|