diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-08-13 20:33:47 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-08-13 20:33:47 +0800 |
commit | 27af6bd3f56041ab5e7e826a340c755cbc32378c (patch) | |
tree | d732ae63aa20a9db7edac9af29d05236186b1393 /editors/AbiWord2 | |
parent | 08a54a7004e07ab28cf1917b75353aa1165a8b3c (diff) | |
download | freebsd-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/AbiWord2')
-rw-r--r-- | editors/AbiWord2/Makefile | 3 | ||||
-rw-r--r-- | editors/AbiWord2/files/patch-configure.in-v2.13 | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/editors/AbiWord2/Makefile b/editors/AbiWord2/Makefile index e3c3924981cb..3052351ab1f1 100644 --- a/editors/AbiWord2/Makefile +++ b/editors/AbiWord2/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/AbiWord2/files/patch-configure.in-v2.13 b/editors/AbiWord2/files/patch-configure.in-v2.13 new file mode 100644 index 000000000000..f13c71061dec --- /dev/null +++ b/editors/AbiWord2/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 |