diff --git a/x11-toolkits/inti/Makefile b/x11-toolkits/inti/Makefile index d99faca0f158..2bc73130227d 100644 --- a/x11-toolkits/inti/Makefile +++ b/x11-toolkits/inti/Makefile @@ -16,9 +16,9 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A set of C++ classes for developing GNOME and GTK+ applications USE_GNOME= glib20 gtk20 atk pango gnomehack gnomeprefix -USE_GCC= 3.3 GNU_CONFIGURE= yes -CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}" +CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ + LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" INSTALLS_SHLIB= yes PLIST_FILES= bin/inti-demo \ diff --git a/x11-toolkits/inti/files/patch-configure b/x11-toolkits/inti/files/patch-configure new file mode 100644 index 000000000000..1b8e49ea823c --- /dev/null +++ b/x11-toolkits/inti/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Wed Mar 24 10:00:38 2004 ++++ configure Wed Mar 24 10:00:48 2004 +@@ -18775,7 +18775,7 @@ + if test "x$GCC" = "xyes"; then + case " $CXXFLAGS " in + *[\ \ ]-Wall[\ \ ]*) ;; +- *) CXXFLAGS="$CXXFLAGS -Wall -ansi -pedantic-errors" ;; ++ *) CXXFLAGS="$CXXFLAGS -Wall -ansi" ;; + esac + fi +