mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
Additional directory cleanup. NOTE: This uses a single invocation of finddir
and constructs the mandir, infodir, etc off of that.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
DESCRIPTION="sharutils"
|
DESCRIPTION="sharutils"
|
||||||
HOMEPAGE="http://www.gnu.org/software/sharutils/"
|
HOMEPAGE="http://www.gnu.org/software/sharutils/"
|
||||||
SRC_URI="ftp://ftp.gnu.org/gnu/sharutils/sharutils-4.10.tar.gz"
|
SRC_URI="ftp://ftp.gnu.org/gnu/sharutils/sharutils-4.10.tar.gz"
|
||||||
CHECKSUM_MD5="c8bbfa89810ce9f5399b38392549207c"
|
CHECKSUM_MD5="c8bbfa89810ce9f5399b38392549207c"
|
||||||
REVISION="1"
|
REVISION="1"
|
||||||
@@ -8,9 +8,10 @@ DEPEND=""
|
|||||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
||||||
BUILD {
|
BUILD {
|
||||||
cd sharutils-4.10
|
cd sharutils-4.10
|
||||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
|
||||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||||
--mandir=$MANDIR \
|
--infodir=$COMMON_DOCS/info \
|
||||||
|
--mandir=$COMMON_DOCS/man \
|
||||||
--disable-nls
|
--disable-nls
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user