mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
rhapsody_irc, updated old bep file to working recipe, cleanup whitespaces in patch file (#1313)
This commit is contained in:
committed by
waddlesplash
parent
5ec749a013
commit
57e17e325a
@@ -2,11 +2,11 @@ diff -ur rhapsody-0.28b.org/configure rhapsody-0.28b/configure
|
||||
--- rhapsody-0.28b.org/configure 2006-02-24 07:46:19.017301504 +0100
|
||||
+++ rhapsody-0.28b/configure 2012-11-22 20:29:15.727973888 +0100
|
||||
@@ -168,6 +168,25 @@
|
||||
|
||||
|
||||
STDDOCSPATH="/usr/share/doc/rhapsody"
|
||||
|
||||
|
||||
+elif [ "$OS" = "Haiku" ] ; then
|
||||
+ CCPATH="/boot/develop/tools/gnupro/bin /boot/develop/bin"
|
||||
+ CCPATH="/boot/develop/tools/gnupro/bin /boot/develop/bin /bin"
|
||||
+ CURSESPATH="/boot/develop/headers/3rdparty /boot/develop/headers /boot/develop/headers/gnu"
|
||||
+
|
||||
+ GCCBASELIBS="-lncurses -lnetwork"
|
||||
@@ -20,7 +20,7 @@ diff -ur rhapsody-0.28b.org/configure rhapsody-0.28b/configure
|
||||
+ CCBASEFLAGS=""
|
||||
+
|
||||
+ STDDOCSPATH="`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/rhapsody"
|
||||
+ if [ -z "$INSTALLPATH" ] ; then
|
||||
+ if [ -z "$INSTALLPATH" ] ; then
|
||||
+ INSTALLPATH="`finddir B_COMMON_BIN_DIRECTORY`"
|
||||
+ fi
|
||||
+
|
||||
@@ -30,9 +30,9 @@ diff -ur rhapsody-0.28b.org/configure rhapsody-0.28b/configure
|
||||
@@ -235,7 +254,7 @@
|
||||
# Set install, docs, header and lib path if not provided #
|
||||
###########################################################
|
||||
|
||||
|
||||
-if [ $USER = "root" ] ; then
|
||||
+if [ $USER = "root" -o "$UID" = "0" ] ; then
|
||||
echo "Running as root."
|
||||
|
||||
if [ -z "$INSTALLPATH" ] ; then
|
||||
|
||||
if [ -z "$INSTALLPATH" ] ; then
|
||||
|
||||
Reference in New Issue
Block a user