aboutsummaryrefslogtreecommitdiffstats
path: root/editors/abiword
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-08-13 20:33:47 +0800
committersobomax <sobomax@FreeBSD.org>2001-08-13 20:33:47 +0800
commit27af6bd3f56041ab5e7e826a340c755cbc32378c (patch)
treed732ae63aa20a9db7edac9af29d05236186b1393 /editors/abiword
parent08a54a7004e07ab28cf1917b75353aa1165a8b3c (diff)
downloadfreebsd-ports-gnome-27af6bd3f56041ab5e7e826a340c755cbc32378c.tar.gz
freebsd-ports-gnome-27af6bd3f56041ab5e7e826a340c755cbc32378c.tar.zst
freebsd-ports-gnome-27af6bd3f56041ab5e7e826a340c755cbc32378c.zip
- Fix a breakage when at compile time there is a BSD iconv package installed;
- respect CFLAGS. Reported by: *many*
Diffstat (limited to 'editors/abiword')
-rw-r--r--editors/abiword/Makefile3
-rw-r--r--editors/abiword/files/patch-configure.in-v2.1318
2 files changed, 20 insertions, 1 deletions
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index e3c3924981cb..3052351ab1f1 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -37,7 +37,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAKEFILE= GNUmakefile
FIXME= find ${WRKSRC} -name GNUmakefile.in | xargs ${PERL} -pi -e \
- 's|\$$\(libdir\)/\@PACKAGE\@|\$$\(datadir\)/\@PACKAGE\@|g'
+ 's|\$$\(libdir\)/\@PACKAGE\@|\$$\(datadir\)/\@PACKAGE\@|g ; \
+ s|\@DEFS\@|-I${WRKSRC}/../libiconv/include \@DEFS\@|g'
pre-configure:
@cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS ChangeLog
diff --git a/editors/abiword/files/patch-configure.in-v2.13 b/editors/abiword/files/patch-configure.in-v2.13
new file mode 100644
index 000000000000..f13c71061dec
--- /dev/null
+++ b/editors/abiword/files/patch-configure.in-v2.13
@@ -0,0 +1,18 @@
+
+$FreeBSD$
+
+--- configure.in-v2.13.orig Wed Jul 18 01:38:22 2001
++++ configure.in-v2.13 Mon Aug 13 14:47:43 2001
+@@ -252,10 +252,10 @@
+
+ if test "$PLATFORM" = "unix"; then
+ if test "$gnome" = "true"; then
+- PLATFORM_CFLAGS="$GNOME_CFLAGS $GMODULE_CFLAGS $GTK_CFLAGS"
++ PLATFORM_CFLAGS="$CFLAGS $GNOME_CFLAGS $GMODULE_CFLAGS $GTK_CFLAGS"
+ PLATFORM_LIBS=
+ else
+- PLATFORM_CFLAGS="$GMODULE_CFLAGS $GTK_CFLAGS"
++ PLATFORM_CFLAGS="$CFLAGS $GMODULE_CFLAGS $GTK_CFLAGS"
+ PLATFORM_LIBS=
+ fi
+ fi