summaryrefslogtreecommitdiff
path: root/devel/popt/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/popt/patches/patch-aa')
-rw-r--r--devel/popt/patches/patch-aa47
1 files changed, 47 insertions, 0 deletions
diff --git a/devel/popt/patches/patch-aa b/devel/popt/patches/patch-aa
new file mode 100644
index 00000000000..40c929221cb
--- /dev/null
+++ b/devel/popt/patches/patch-aa
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.3 2001/09/30 21:03:23 rh Exp $
+
+--- configure.orig Fri Feb 23 22:43:41 2001
++++ configure
+@@ -3674,13 +3674,13 @@
+ if { (eval echo configure:3675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ CATOBJEXT=.gmo
+- DATADIRNAME=share
++ DATADIRNAME=${PKGLOCALEDIR}
+ else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CATOBJEXT=.mo
+- DATADIRNAME=lib
++ DATADIRNAME=${PKGLOCALEDIR}
+ fi
+ rm -f conftest*
+ INSTOBJEXT=.mo
+@@ -3942,7 +3942,7 @@
+ USE_INCLUDED_LIBINTL=yes
+ CATOBJEXT=.cat
+ INSTOBJEXT=.cat
+- DATADIRNAME=lib
++ DATADIRNAME=${PKGLOCALEDIR}
+ INTLDEPS='$(top_builddir)/intl/libintl.a'
+ INTLLIBS=$INTLDEPS
+ LIBS=`echo $LIBS | sed -e 's/-lintl//'`
+@@ -4071,7 +4071,7 @@
+ USE_INCLUDED_LIBINTL=yes
+ CATOBJEXT=.gmo
+ INSTOBJEXT=.mo
+- DATADIRNAME=share
++ DATADIRNAME=${PKGLOCALEDIR}
+ INTLDEPS='$(top_builddir)/intl/libintl.a'
+ INTLLIBS=$INTLDEPS
+ LIBS=`echo $LIBS | sed -e 's/-lintl//'`
+@@ -4091,7 +4091,7 @@
+ # We need to process the po/ directory.
+ POSUB=po
+ else
+- DATADIRNAME=share
++ DATADIRNAME=${PKGLOCALEDIR}
+ nls_cv_header_intl=intl/libintl.h
+ nls_cv_header_libgt=intl/libgettext.h
+ fi