LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File changeset_r1947.diff of Package fillmore-lombard (Project openSUSE:11.4)

Index: /media/trunk/configure
===================================================================
--- /media/trunk/configure	(revision 1342)
+++ /media/trunk/configure	(revision 1947)
@@ -18,4 +18,6 @@
     printf "\t--debug | --release\tBuild executable for debugging or release.\n"
     printf "\t\t\t\t[--release]\n"
+    printf "\t--prefix=PREFIX\t\tPrepend PREFIX to program installation paths.\n"
+    printf "\t\t\t\t[/usr/local]\n"
     printf "\t--define=SYMBOL\t\tDefine a symbol for the Vala compiler.\n"
     printf "\n"
@@ -40,5 +42,13 @@
                             exit 0
                             ;;
-        
+
+        --prefix)           if [ ! $value ]
+                            then
+                                abort $1
+                            fi
+                            
+                            variables="${variables}PREFIX=$value\n"
+                            ;;
+
         --assume-pkgs)      variables="${variables}ASSUME_PKGS=1\n"
                             ;;
Index: /media/trunk/marina.mk
===================================================================
--- /media/trunk/marina.mk	(revision 1838)
+++ /media/trunk/marina.mk	(revision 1947)
@@ -2,5 +2,7 @@
 MIN_VALAC_VERSION = 0.9.2
 # defaults that may be overridden by configure.mk
+ifndef PREFIX
 PREFIX=/usr/local
+endif
 
 INSTALL_PROGRAM = install