summaryrefslogtreecommitdiff
path: root/editors/poedit/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2004-04-27 21:58:15 +0000
committerdmcmahill <dmcmahill>2004-04-27 21:58:15 +0000
commit5addb4aacb94140a64fc4f62556cc501068d71c6 (patch)
tree6bed3a8f947ff6cc6743ed7327a1d3b31d5858bc /editors/poedit/patches
parenta705ac762fa347a7d8984c84f342320f7e00cb4a (diff)
downloadpkgsrc-5addb4aacb94140a64fc4f62556cc501068d71c6.tar.gz
avoid tricking the configure script into thinking we're cross compiling
which breaks compilation if you do not have a cross tool chain installed. Not sure how this ever compiled before...
Diffstat (limited to 'editors/poedit/patches')
-rw-r--r--editors/poedit/patches/patch-aa36
-rw-r--r--editors/poedit/patches/patch-ab36
2 files changed, 72 insertions, 0 deletions
diff --git a/editors/poedit/patches/patch-aa b/editors/poedit/patches/patch-aa
new file mode 100644
index 00000000000..4fd7d92f27e
--- /dev/null
+++ b/editors/poedit/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1 2004/04/27 21:58:15 dmcmahill Exp $
+
+--- configure.in.orig Sun Jan 25 22:16:53 2004
++++ configure.in
+@@ -12,19 +12,19 @@ AC_CANONICAL_TARGET
+
+ dnl cross-compiling support: we're cross compiling if the build system is
+ dnl different from the target one (assume host and target be always the same)
+-if test "$build" != "$host" ; then
+- CC=$host_alias-gcc
+- CXX=$host_alias-c++
+- AR=$host_alias-ar
+- RANLIB=$host_alias-ranlib
+- DLLTOOL=$host_alias-dlltool
+- RESCOMP=$host_alias-windres
+- LD=$host_alias-ld
+- NM=$host_alias-nm
+- STRIP=$host_alias-strip
+-else
++#if test "$build" != "$host" ; then
++# CC=$host_alias-gcc
++# CXX=$host_alias-c++
++# AR=$host_alias-ar
++# RANLIB=$host_alias-ranlib
++# DLLTOOL=$host_alias-dlltool
++# RESCOMP=$host_alias-windres
++# LD=$host_alias-ld
++# NM=$host_alias-nm
++# STRIP=$host_alias-strip
++#else
+ RESCOMP=windres
+-fi
++#fi
+
+ AM_INIT_AUTOMAKE
+ AM_MAINTAINER_MODE
diff --git a/editors/poedit/patches/patch-ab b/editors/poedit/patches/patch-ab
new file mode 100644
index 00000000000..7a0eb6dc28c
--- /dev/null
+++ b/editors/poedit/patches/patch-ab
@@ -0,0 +1,36 @@
+$NetBSD: patch-ab,v 1.1 2004/04/27 21:58:15 dmcmahill Exp $
+
+--- configure.orig Sun Jan 25 22:17:58 2004
++++ configure
+@@ -1460,19 +1460,19 @@ test -n "$target_alias" &&
+ NONENONEs,x,x, &&
+ program_prefix=${target_alias}-
+
+-if test "$build" != "$host" ; then
+- CC=$host_alias-gcc
+- CXX=$host_alias-c++
+- AR=$host_alias-ar
+- RANLIB=$host_alias-ranlib
+- DLLTOOL=$host_alias-dlltool
+- RESCOMP=$host_alias-windres
+- LD=$host_alias-ld
+- NM=$host_alias-nm
+- STRIP=$host_alias-strip
+-else
++#if test "$build" != "$host" ; then
++# CC=$host_alias-gcc
++# CXX=$host_alias-c++
++# AR=$host_alias-ar
++# RANLIB=$host_alias-ranlib
++# DLLTOOL=$host_alias-dlltool
++# RESCOMP=$host_alias-windres
++# LD=$host_alias-ld
++# NM=$host_alias-nm
++# STRIP=$host_alias-strip
++#else
+ RESCOMP=windres
+-fi
++#fi
+
+ am__api_version="1.7"
+ # Find a good install program. We prefer a C program (faster),