-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial bep and patch for e2fsprogs. Note that it's not yet building,…
… needs further patching.
- Loading branch information
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
DESCRIPTION="Standard EXT2/EXT3/EXT4 filesystem utilities" | ||
HOMEPAGE="http://e2fsprogs.sourceforge.net/" | ||
SRC_URI="http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs-TEST/1.43-WIP-0922/e2fsprogs-1.43-WIP-2012-09-22.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fe2fsprogs%2Ffiles%2Fe2fsprogs-TEST%2F1.43-WIP-0922%2F&ts=1356043363&use_mirror=switch" | ||
CHECKSUM_MD5="653625e10de6ee038e1ee40480de9787" | ||
REVISION="1" | ||
STATUS_HAIKU="broken" | ||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building." | ||
DEPEND="" | ||
|
||
BUILD { | ||
cd e2fsprogs-1.43 | ||
autoconf | ||
libdir=`finddir B_COMMON_LIB_DIRECTORY` | ||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \ | ||
USE=-loop-aes --enable-symlink-build \ | ||
--enable-symlink-install --disable-tls \ | ||
--enable-quota=no --disable-fsck \ | ||
--enable-elf-shlibs | ||
make | ||
} | ||
|
||
INSTALL { | ||
cd e2fsprogs-1.43 | ||
make install-libs | ||
} | ||
|
||
LICENSE="GNU GPL v2" | ||
COPYRIGHT="2004-2012 Free Software Foundation, Inc." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff -urN e2fsprogs-1.43/configure.in e2fsprogs-1.43-haiku/configure.in | ||
--- e2fsprogs-1.43/configure.in 2013-03-18 01:46:29.019922944 -0700 | ||
+++ e2fsprogs-1.43-haiku/configure.in 2013-03-18 02:02:17.526123008 -0700 | ||
@@ -96,8 +96,11 @@ | ||
dnl | ||
AC_PROG_CC | ||
if test "$GCC" = yes; then | ||
- RDYNAMIC="-rdynamic" | ||
- AC_SUBST(RDYNAMIC) | ||
+ case "$host_os" in | ||
+ haiku*) RDYNAMIC="-Wl,-export-dynamic" ;; | ||
+ *) RDYNAMIC="-rdynamic" ;; | ||
+ esac | ||
+ AC_SUBST(RDYNAMIC) | ||
fi | ||
AC_PROG_CPP | ||
dnl | ||
@@ -1097,6 +1100,7 @@ | ||
dnl | ||
SOCKET_LIB='' | ||
AC_CHECK_LIB(socket, socket, [SOCKET_LIB=-lsocket]) | ||
+AC_CHECK_LIB(network, socket, [SOCKET_LIB=-lnetwork]) | ||
AC_SUBST(SOCKET_LIB) | ||
dnl | ||
dnl See if optreset exists |