mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
35 lines
1.4 KiB
Text
35 lines
1.4 KiB
Text
--- build.orig Tue May 1 13:37:12 2001
|
|
+++ build Sat Nov 25 00:38:47 2006
|
|
@@ -22,7 +22,7 @@
|
|
echo '#######################################################################'> conf/mkheader.in
|
|
echo '####### Makefile generated by build script ############################'>> conf/mkheader.in
|
|
echo VERSION = $version>> conf/mkheader.in
|
|
- echo DATE = `/bin/date`>> conf/mkheader.in
|
|
+ echo DATE = `/usr/bin/env LANG=C /bin/date`>> conf/mkheader.in
|
|
echo '#######################################################################'>> conf/mkheader.in
|
|
cat conf/unixconf/mkheader.0 >> conf/mkheader.in
|
|
else
|
|
@@ -43,7 +43,7 @@
|
|
|
|
if [ -f conf/util/configure ]; then
|
|
cd conf
|
|
- util/configure -srcdir .
|
|
+ util/configure -srcdir . --prefix=${PREFIX} -x-includes="${LOCALBASE}/include" -x-libraries="${LOCALBASE}/lib"
|
|
if [ ! -f ../src/include/config.h ] || \
|
|
[ "`diff config.h ../src/include/config.h |head`" ]; then
|
|
echo Installing config.h
|
|
@@ -92,8 +92,14 @@
|
|
fi
|
|
echo Creating makefiles in the subdirectories...
|
|
$makeprog make
|
|
+ if [ $? -ne 0 ]; then
|
|
+ exit $?
|
|
+ fi
|
|
echo ...done
|
|
$makeprog all 2> ../../errs
|
|
+ if [ $? -ne 0 ]; then
|
|
+ exit $?
|
|
+ fi
|
|
echo done
|
|
echo Check the errs file for any problems.
|
|
echo To finish the installation, cd to src/bin, become root, and type
|