File Makefile.diff of Package perl-bp
diff -ruN perl-bp-orig/Makefile perl-bp/Makefile --- perl-bp-orig/Makefile 2002-09-01 19:02:33.000000000 +0000 +++ perl-bp/Makefile 2010-04-16 18:06:49.047289509 +0000 @@ -14,6 +14,7 @@ # This is a pathetic hack, but it seems to work OK. sitebin := $(shell perl config.pl sitebin) sitearch := $(shell perl config.pl sitearch) +vendorarch := $(shell perl config.pl vendorarch) # Will default to RPM_BUILD_ROOT if used in an RPM ifndef RPM_BUILD_ROOT @@ -21,7 +22,9 @@ endif # Redefine below to put lib's elsewhere. -BPHOME = $(RPM_BUILD_ROOT)$(sitearch) +ifndef BPHOME +BPHOME = $(RPM_BUILD_ROOT)$(vendorarch) +endif # Redefine below to put bin's elsewhere. BINDEST = $(RPM_BUILD_ROOT)$(sitebin) @@ -30,7 +33,7 @@ BINPREF = bib test: - (cd tests; make) + (cd tests; make BPHOME=$(BPHOME)) install: install.lib install.bin