summaryrefslogtreecommitdiff
path: root/community/gambas2/fix-gbi-gba-path.patch
blob: 9be8e921e27692080169f80d020522baaa43b9e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- component.am	2010-03-15 20:54:43.000000000 +0100
+++ ../component.am	2010-04-30 15:00:47.218700833 +0200
@@ -6,17 +6,17 @@
 	@if test -d $(COMPONENT); then \
 		echo "Compiling the $(COMPONENT) project..."; \
 		( \
-			$(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT); \
+			$(GBFILES)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT); \
 			cd $(COMPONENT); \
-			$(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); \
-			$(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
+			$(GBFILES)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); \
+			$(GBFILES)/gba$(GAMBAS_VERSION); \
 			rm -rf .gambas; \
 			$(INSTALL) $(COMPONENT).gambas $(DESTDIR)$(gblibdir); \
 		) \
 	fi
 	@echo
 	@echo "Creating the information files for $(COMPONENT) component..."
-	@$(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT)
+	@$(GBFILES)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT)
 	@echo
 
 uninstall-hook: