Files
macports-ports/sysutils/man/files/configure-DEF_NLSPATH.patch
Ryan Schmidt 2e94e2f403 man: Fix implicit declaration of exit in configure
Fix implicit declaration of library function exit in configure script
which led to build failure with Xcode 12.

Modify configure script to write a minimal config.log so that future
configure test failures are easier to notice and diagnose.

Closes: https://trac.macports.org/ticket/61558

Use MacPorts CFLAGS, CPPFLAGS, and LDFLAGS when running configure tests.

Also use MacPorts CPPFLAGS when building.

Rename some patchfiles.
2020-12-20 06:24:27 -06:00

12 lines
460 B
Diff

--- configure.orig 2006-05-01 19:56:14.000000000 +0200
+++ configure 2007-02-16 21:44:36.000000000 +0100
@@ -825,7 +825,7 @@
if [ "x$languages" != x -a "x$languages" != xen ]
then
- DEF_NLSPATH="/usr/share/locale/%L/%N:/usr/lib/locale/%N/%L"
+ DEF_NLSPATH="${prefix}/share/locale:/usr/share/locale/%L/%N:/usr/lib/locale/%N/%L"
deflocalepath=`echo $NLSPATH:$DEF_NLSPATH | sed 's/:/ /g'`
for i in $deflocalepath; do
if [ x$deflocale = x ]; then