On Tue, Sep 07, 2010 at 02:31:38PM +0100, David Southwell wrote:
> 
> As a test I downloaded the file via http from http://www.fox-
> toolkit.org/fox.html and then ran
> # make makesum
> and then tried 
> #make
> and received the following errors:
> 
> configure: WARNING: unrecognized options: --enable-threadsafe, --enable-cups
> ===>  Building for fox-1.6.40
> Making all in utils
> c++ -DPACKAGE_NAME=\"fox\" -DPACKAGE_TARNAME=\"fox\" -
> DPACKAGE_VERSION=\"1.6.40\" -DPACKAGE_STRING=\"fox\ 1.6.40\" -
> DPACKAGE_BUGREPORT=\"jer...@fox-toolkit.com\" -DPACKAGE_URL=\"\" -
> DPACKAGE=\"fox\" -DVERSION=\"1.6.40\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -
> DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -
> DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
> D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 
> -D_POSIX_PTHREAD_SEMANTICS=1 
> -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -
> DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBRT=1 -
> DHAVE_LIBPTHREAD=1 -DHAVE_VSSCANF=1 -DHAVE_VSNPRINTF=1 -DHAVE_STRTOLL=1 -
> DHAVE_STRTOULL=1 -I.    -I/usr/local/include -I/usr/local/include/freetype2 -
> I/usr/local/include  -Wall -Wextra -Wformat -Woverloaded-virtual -Wshadow -O2 
> -fno-strict-aliasing -pipe -march=nocona -O2 -Wuninitialized -ffast-math -
> finline-functions -fexpensive-optimizations -DNDEBUG -Wuninitialized -ffast-
> math -fstrict-aliasing -finline-functions -fomit-frame-pointer -fexpensive-
> optimizations -pg -DHAVE_XFT_H=1 -I/usr/include/freetype2 -DNO_XIM  -
> I/usr/local/include -MT reswrap.o -MD -MP -MF .deps/reswrap.Tpo -c -o 
> reswrap.o reswrap.cpp
> c++: -pg and -fomit-frame-pointer are incompatible
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/fox16/work/fox-1.6.40/utils.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/fox16/work/fox-1.6.40.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/fox16.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/fox16.
> 
> After unchecking "Build with Profiling support" fox compiled.
> 
> The correct contents of distfile are shown as follows:
> 
> dns1# cat distinfo 
> MD5 (fox-1.6.40.tar.gz) = 1253617ca2ef5652b865e35dc2ddb65c
> SHA256 (fox-1.6.40.tar.gz) = 
> 19bcdb56f3985ef359adc1cf3a392d11cad0d097c646dd73c8ef1349faa1ba6f
> SIZE (fox-1.6.40.tar.gz) = 4353981
> 
> Any chance someone could check and commit?
> 

I found a copy of the old distfile floating around. The change is
innocuous (diff attached). If gahr doesn't respond within the customary
timeout period, I'll commit a fix.

Shaun

-- 
Shaun Amott // PGP: 0x6B387A9A
"A foolish consistency is the hobgoblin
of little minds." - Ralph Waldo Emerson
diff -urN fox-1.6.40.orig/fox.pc.in fox-1.6.40/fox.pc.in
--- fox-1.6.40.orig/fox.pc.in	2009-03-13 05:45:10.000000000 +0000
+++ fox-1.6.40/fox.pc.in	2010-09-02 02:01:28.000000000 +0100
@@ -1,10 +1,18 @@
-pref...@prefix@
-exec_pref...@exec_prefix@
-libd...@libdir@
-included...@includedir@
+prefix="@prefix@"
+exec_prefix="@exec_prefix@"
+libdir="@libdir@"
+includedir="@includedir@/f...@fox_major_version@....@fox_minor_version@"
+LIBS="@LIBS@"
+X_LIBS="@X_LIBS@"
+X_BASE_LIBS="@X_BASE_LIBS@"
+X_EXTRA_LIBS="@X_EXTRA_LIBS@"
+GL_LIBS="@GL_LIBS@"
+fox_libs=-lf...@fox_major_version@....@fox_minor_version@
 
 Name: FOX
-Description: FOX is a C++ based Toolkit for developing Graphical User Interfaces
+Description: The FOX Toolkit
+URL: www.fox-toolkit.org
 Version: @fox_major_vers...@.@fox_minor_vers...@.@FOX_PATCH_LEVEL@
-Libs: -L${libdir} -lf...@fox_major_version@....@fox_minor_version@ @X_LIBS@ @X_BASE_LIBS@ @X_EXTRA_LIBS@ @GL_LIBS@ @LIBS@
-Cflags: -I${includedir}/f...@fox_major_version@....@fox_minor_version@
+Libs: ${FOX_LIBS}
+Libs.private: ${X_LIBS} ${X_BASE_LIBS} ${X_EXTRA_LIBS} ${GL_LIBS} ${LIBS}
+Cflags: -I${includedir}

Attachment: pgplvw5qRysID.pgp
Description: PGP signature

Reply via email to