summaryrefslogtreecommitdiff
path: root/editors/abiword
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-08-13 12:33:47 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-08-13 12:33:47 +0000
commit7c11e3f1821cac263941b3a35db2fe751a8c43bb (patch)
tree70f69da0bd7d51adebd2481907ada1553752ab13 /editors/abiword
parentUpdate to version 1.027 (diff)
- Fix a breakage when at compile time there is a BSD iconv package installed;
- respect CFLAGS. Reported by: *many*
Notes
Notes: svn path=/head/; revision=46180
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