diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-01-09 03:06:22 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-01-09 03:06:22 +0000 |
commit | 850a9c482ef0015e931352644c4f21a3ba345236 (patch) | |
tree | 98eccdc431661f0fd74522254e39784eb4003118 /security/qtfw | |
parent | 18820e7da1f241bc4ca34087565c126c95b4e14a (diff) | |
download | ports-850a9c482ef0015e931352644c4f21a3ba345236.tar.gz ports-850a9c482ef0015e931352644c4f21a3ba345236.zip |
Notes
Diffstat (limited to 'security/qtfw')
-rw-r--r-- | security/qtfw/Makefile | 4 | ||||
-rw-r--r-- | security/qtfw/files/patch-configure | 23 |
2 files changed, 25 insertions, 2 deletions
diff --git a/security/qtfw/Makefile b/security/qtfw/Makefile index 5122aeec4fa6..817183e05e1e 100644 --- a/security/qtfw/Makefile +++ b/security/qtfw/Makefile @@ -13,10 +13,10 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= pat@FreeBSD.org -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes USE_GMAKE= yes USE_QT_VER= 2 -CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS}" +CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS}" X11BASE="${X11BASE}" pre-patch: @${PERL} -pi.orig -e 's|^\ *CXXFLAGS=.*||' \ diff --git a/security/qtfw/files/patch-configure b/security/qtfw/files/patch-configure new file mode 100644 index 000000000000..11bf6edb2a41 --- /dev/null +++ b/security/qtfw/files/patch-configure @@ -0,0 +1,23 @@ +--- configure.orig Tue Jan 8 21:54:19 2002 ++++ configure Tue Jan 8 21:56:06 2002 +@@ -790,7 +790,7 @@ + QT_LIB_DIR=NO + + i_dir=NO +-for i in /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/local/qt2/include /usr/include/qt2 /usr/X11R6/include/X11/qt2 /usr/X11R6/include/qt2; ++for i in ${X11BASE}/include/qt2; + do + for j in qapplication.h; + do +@@ -803,9 +803,9 @@ + + + l_dir=NO +-for i in /usr/X11R6/lib /usr/lib /usr/local/qt/lib /usr/local/qt2/lib; ++for i in ${X11BASE}/lib; + do +- for j in libqt.so libqt2.so; ++ for j in libqt2.so; + do + if test -r "$i/$j"; then + l_dir=$i |