mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Some work on the BePDF build. Noticed to late that it uses liblayout and
therefore can't be built for gcc 4 anyway. Still needs more work for gcc 2 I guess.
This commit is contained in:
@@ -1,18 +1,22 @@
|
||||
DESCRIPTION="BePDF is a PDF viewer for the BeOS, Haiku & Zeta"
|
||||
HOMEPAGE="http://bepdf.sourceforge.net/"
|
||||
SRC_URI="svn+http://bepdf.svn.sourceforge.net/svnroot/bepdf#532"
|
||||
SRC_URI="svn+http://bepdf.svn.sourceforge.net/svnroot/bepdf/trunk#532"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="broken"
|
||||
DEPEND=""
|
||||
|
||||
BUILD {
|
||||
export BEPDF_BUILD_GCC=`setgcc | cut -d/ -f2`
|
||||
cd bepdf-1.1.1b2-532
|
||||
make
|
||||
./build.sh package
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd bepdf-1.1.1b2-532
|
||||
make
|
||||
|
||||
# TODO:...
|
||||
echo "Implement me ..."
|
||||
exit 1
|
||||
}
|
||||
|
||||
COPYRIGHT="1997 Benoit Triquet
|
||||
|
||||
21
haiku-apps/bepdf/patches/bepdf-1.1.1b2-532.patch
Normal file
21
haiku-apps/bepdf/patches/bepdf-1.1.1b2-532.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
Index: bepdf-1.1.1b2-532/bepdf/Jamfile
|
||||
===================================================================
|
||||
--- bepdf-1.1.1b2-532/bepdf/Jamfile (revision 532)
|
||||
+++ bepdf-1.1.1b2-532/bepdf/Jamfile (working copy)
|
||||
@@ -96,10 +96,14 @@
|
||||
# naming scheme you need to specify the path to the library
|
||||
# and it's name
|
||||
# library: my_lib.a entry: my_lib.a or path/my_lib.a
|
||||
-LIBS =
|
||||
+LIBS = stdc++.r4 ;
|
||||
+if $(BEPDF_BUILD_GCC) = gcc4 {
|
||||
+ # Use the standard libstdc++ name when building with gcc 4.
|
||||
+ LIBS = stdc++ ;
|
||||
+}
|
||||
+LIBS +=
|
||||
# BeOS
|
||||
be
|
||||
-stdc++.r4
|
||||
textencoding
|
||||
tracker
|
||||
translation
|
||||
Reference in New Issue
Block a user