Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22238

Modified Files:
        roofitmodels.patch 
Log Message:
Remove hard coded version/prefix

Index: roofitmodels.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/roofitmodels.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- roofitmodels.patch  14 May 2005 04:29:13 -0000      1.4
+++ roofitmodels.patch  14 May 2005 05:46:46 -0000      1.5
@@ -13,9 +13,9 @@
  # Internal configuration
  PACKAGE=RooFitModels
 -LD_LIBRARY_PATH:=$(ROOTSYS)/lib:$(LD_LIBRARY_PATH)
-+MAJOR  = $(shell echo 1.09.02 | awk -F "." '{printf("%d",$$1)}')
-+MINOR  = $(shell echo 1.09.02 | awk -F "." '{printf("%d",$$2)}')
-+REVIS  = $(shell echo 1.09.02 | awk -F "." '{printf("%d",$$3)}')
++MAJOR  = $(shell echo @VERSION@ | awk -F "." '{printf("%d",$$1)}')
++MINOR  = $(shell echo @VERSION@ | awk -F "." '{printf("%d",$$2)}')
++REVIS  = $(shell echo @VERSION@ | awk -F "." '{printf("%d",$$3)}')
 +
  OBJDIR=$(WORKDIR)/objects/
  INCDIR=$(WORKDIR)/$(PACKAGE)/
@@ -66,7 +66,7 @@
 +      @$(CC) $(addprefix $(OBJDIR)/,$(OLIST) $(patsubst 
%.cc,%.o,$(CINTFILE))) \
 +      -dynamiclib -single_module -undefined dynamic_lookup \
 +      -o $(subst .dylib,.$(MAJOR).$(MINOR).dylib,$@) \
-+      -install_name $(subst $(LIBDIR),/sw/lib/root,$(subst 
.dylib,.$(MAJOR).dylib,$@)) \
++      -install_name $(subst $(LIBDIR),@PREFIX@/lib/root,$(subst 
.dylib,.$(MAJOR).dylib,$@)) \
 +      -compatibility_version $(MAJOR) -current_version 
$(MAJOR).$(MINOR).$(REVIS) \
 +
  # Useful build targets



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to