diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-09-16 13:25:34 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-09-16 13:25:34 +0000 |
commit | 90a833ea7a217c4be5e58a5745f98f349989d1cb (patch) | |
tree | f03bffdcb7fe1234ab254b4ff19a619695f82d5d /math | |
parent | 4eeea8544bbd0e0f1fb0befe2f12aab74dd0bff3 (diff) | |
download | FreeBSD-ports-90a833ea7a217c4be5e58a5745f98f349989d1cb.zip FreeBSD-ports-90a833ea7a217c4be5e58a5745f98f349989d1cb.tar.gz |
Prevent breakage when both gal1 and gal2 are installed.
Diffstat (limited to 'math')
-rw-r--r-- | math/gnumeric2/Makefile | 3 | ||||
-rw-r--r-- | math/gnumeric2/files/patch-configure | 9 |
2 files changed, 11 insertions, 1 deletions
diff --git a/math/gnumeric2/Makefile b/math/gnumeric2/Makefile index ce88bb4..ba7dc54 100644 --- a/math/gnumeric2/Makefile +++ b/math/gnumeric2/Makefile @@ -30,7 +30,8 @@ USE_REINPLACE= yes USE_LIBTOOL= yes CONFIGURE_ARGS= --without-guile --with-bonobo CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ - LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" + LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" \ + DEFS="-I${X11BASE}/include/gal-2-0" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} PLIST_SUB= VERSION=${PORTVERSION}-bonobo diff --git a/math/gnumeric2/files/patch-configure b/math/gnumeric2/files/patch-configure index 86dca33..0556ddc 100644 --- a/math/gnumeric2/files/patch-configure +++ b/math/gnumeric2/files/patch-configure @@ -8,3 +8,12 @@ # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -13797,7 +13798,7 @@ + }' + fi + +-DEFS=-DHAVE_CONFIG_H ++DEFS="$DEFS -DHAVE_CONFIG_H" + + + |