pkgsrc/sysutils/mc/patches/patch-aa
wiz c5a1ca82c3 Use PKGLOCALEDIR instead of homebrew stuff.
Also patch out useless autoheader call, thus solving PR 18587.
2002-10-08 17:27:19 +00:00

49 lines
1.2 KiB
Text

$NetBSD: patch-aa,v 1.11 2002/10/08 17:27:20 wiz Exp $
--- configure.orig Mon Jul 3 10:31:57 2000
+++ configure
@@ -3543,6 +3543,11 @@
+# Set DATADIRNAME to "${PKGLOCALEDIR}"
+DATADIRNAME="${PKGLOCALEDIR}"
+INTLDEPS=
+INTLLIBS="-lintl"
+
cc_uses_g=yes
if test x$GCC = xyes; then
if test x$ac_cv_prog_gcc_g = xyes; then
@@ -9409,11 +9414,15 @@
# Check whether --with-gnome or --without-gnome was given.
+gnomecodedirs=
+gnomeunixdirs=
if test "${with_gnome+set}" = set; then
withval="$with_gnome"
if test x$withval = xyes; then
want_gnome=yes
+ gnomecodedirs='gnome idl'
+ gnomeunixdirs='doc-gnome'
mx=mx
gmcdep=gmcdep
libgtkedit="libgtkedit.a"
@@ -11891,6 +11900,7 @@
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
+s%@LOCALBASE@%$LOCALBASE%g
s%@SHELL@%$SHELL%g
s%@CFLAGS@%$CFLAGS%g
s%@CPPFLAGS@%$CPPFLAGS%g
@@ -12019,6 +12029,8 @@
s%@GNOME_DOCKLETS_LIBS@%$GNOME_DOCKLETS_LIBS%g
s%@GNOME_CAPPLET_LIBS@%$GNOME_CAPPLET_LIBS%g
s%@gnomeicondir@%$gnomeicondir%g
+s%@gnomecodedirs@%$gnomecodedirs%g
+s%@gnomeunixdirs@%$gnomeunixdirs%g
s%@mx@%$mx%g
s%@gmcdep@%$gmcdep%g
s%@libgtkedit@%$libgtkedit%g