summaryrefslogtreecommitdiff
path: root/community/pdfedit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pdfedit/PKGBUILD')
-rw-r--r--community/pdfedit/PKGBUILD8
1 files changed, 2 insertions, 6 deletions
diff --git a/community/pdfedit/PKGBUILD b/community/pdfedit/PKGBUILD
index 4da652f91..b46eff23f 100644
--- a/community/pdfedit/PKGBUILD
+++ b/community/pdfedit/PKGBUILD
@@ -19,15 +19,11 @@ md5sums=('80502ee7f08cdfb867ffdaa92d160a23'
'c0572c2dd54065322321718aa49ed6b8')
build() {
- . /etc/profile.d/qt3.sh
- export PATH="$QTDIR/bin:$PATH"
- export QMAKESPEC="$QTDIR/mkspecs/linux-g++"
-
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/Type1:' src/xpdf/xpdf/GlobalParams.cc
- ./configure --prefix=/usr --with-qmake=/opt/qt/bin/qmake
- make
+ QTDIR=/usr ./configure --prefix=/usr
+ make CXXFLAGS+="-I/usr/include/qt3" MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 QTDIR=/usr
}
package() {