*** ./src/Makefile.shlib.uw7 Tue Sep 19 08:36:07 2006 --- ./src/Makefile.shlib Mon Jan 28 14:48:21 2008 *************** *** 233,239 **** else LINK.shared = $(CC) -G endif ! LINK.shared += -Wl,-z,text -Wl,-h,$(soname) endif ifeq ($(PORTNAME), cygwin) --- 233,239 ---- else LINK.shared = $(CC) -G endif ! LINK.shared += -Wl,-z,text -Wl,-h,/usr/lib/postgresql/$(soname) endif ifeq ($(PORTNAME), cygwin) *** ./Install-UW7.uw7 Mon Jan 28 14:48:21 2008 --- ./Install-UW7 Mon Jan 28 14:48:21 2008 *************** *** 0 **** --- 1,15 ---- + #!/bin/sh + + MOUT=mout-install + D=/u/tmp/pgsql + DESTDIR=$D + export DESTDIR + + [ -f $MOUT ] && mv $MOUT $MOUT-prev + [ -d $D ] && rm -rf $D + mkdir -p $D + gmake install DESTDIR=$D 2>&1 | tee $MOUT + gmake -C src/pl install DESTDIR=$D 2>&1 | tee $MOUT-pl + gmake -C contrib install DESTDIR=$D 2>&1 | tee $MOUT-contrib + #gmake -C contrib/xml2 install DESTDIR=$D 2>&1 | tee $MOUT-contrib.xml2 + gmake -C src/tutorial NO_PGXS=1 install DESTDIR=$D 2>&1 | tee $MOUT-tutorial *** ./Build-UW7.uw7 Mon Jan 28 14:48:21 2008 --- ./Build-UW7 Mon Jan 28 14:48:21 2008 *************** *** 0 **** --- 1,59 ---- + #!/bin/sh + # + HOST=i586-sco-sysv5 + CFLAGS="-O2 -D_NO_FOLLOW_SYMLINKS" + INSTALL=/usr/gnu/bin/install + NM=nm-p + M4=/usr/gnu/bin/m4 + if [ "$1" = "-g" ] + then + CC="gcc -D_REENTRANT" + CXX="g++ -D_REENTRANT" + CFLAGS="$CFLAGS -Wall" + else + CC="cc -Kpthread -Kalloca" + CXX="CC -Kpthread -Kalloca" + fi + export CC CXX CFLAGS NM M4 INSTALL + rm -f mout-configure + ./configure --prefix=/usr \ + --disable-rpath \ + --with-CXX --with-perl --enable-multibyte \ + --without-tcl --without-tk \ + --enable-locale --without-python --with-readline \ + --with-openssl --sysconfdir=/etc/sysconfig/pgsql \ + --datadir=/usr/share/postgresql \ + --with-docdir=/usr/share/doc/packages --enable-syslog --with-x \ + --without-gnu-ld --with-pam --without-krb5 \ + --host=$HOST --target=$HOST --build=$HOST 2>&1 | tee mout-configure + + gmake all 2>&1 | tee mout + gmake -C contrib all 2>&1 | tee mout-contrib + #gmake -C contrib/xml2 all 2>&1 | tee mout-contrib.xml2 + + # Have to hack makefile to put correct path into tutorial scripts + sed "s|C=\`pwd\`;|C=/usr/lib/postgresql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile + gmake -C src/tutorial NO_PGXS=1 all 2>&1 | tee mout-tutorial + rm -f src/tutorial/GNUmakefile + + # PYTHON=/usr/bin/python + # python_version=`${PYTHON} -c "import sys; print sys.version[:3]"` + # python_prefix=`${PYTHON} -c "import sys; print sys.prefix"` + # python_includespec="-I${python_prefix}/include/python${python_version}" + + # pushd PyGreSQL + + # cc $CFLAGS -Kpic -G -o _pgmodule.so ${python_includespec} -I../src/interfaces/libpq -I../src/include -L../src/interfaces/libpq -lpq pgmodule.c + + # popd + + # pushd Pgtcl + # pgtcl's configure only handles one include directory :-( + # ./configure --prefix=/usr \ + # --libdir=%{_libdir} \ + # --with-tcl=%{_libdir} \ + # --with-postgres-include="../src/interfaces/libpq -I../src/include" \ + # --with-postgres-lib=../src/interfaces/libpq + # note: as of pgtcl 1.5.2, its makefile is not parallel-safe + # gmake all + # popd *** ./configure.uw7 Thu Jan 3 13:40:49 2008 --- ./configure Mon Jan 28 14:48:21 2008 *************** *** 13915,13929 **** fi echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in6" >&5 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_in6" >&6 - if test $ac_cv_type_struct_sockaddr_in6 = yes; then - - cat >>confdefs.h <<\_ACEOF - #define HAVE_IPV6 1 - _ACEOF - - HAVE_IPV6=yes - fi - echo "$as_me:$LINENO: checking for PS_STRINGS" >&5 --- 13915,13920 ----