better way to fix build problem on -stable

Submitted by:	olker Stolz <stolz@i2.informatik.rwth-aachen.de>
This commit is contained in:
Ying-Chieh Liao 2004-03-25 01:46:10 +00:00
parent b4c8eb6a37
commit 972cb30fb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105176
2 changed files with 13 additions and 2 deletions

View File

@ -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 \

View File

@ -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