summaryrefslogtreecommitdiff
path: root/devel/intel2gas/patches/patch-aa
blob: ef8c4cd91666dbac445cba9615108e27e9644d29 (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
25
26
27
28
29
30
31
32
33
$NetBSD: patch-aa,v 1.1.1.1 2004/10/20 19:22:54 xtraeme Exp $

--- Makefile.in.orig	2004-10-20 21:17:04.000000000 +0200
+++ Makefile.in	2004-10-20 21:19:07.000000000 +0200
@@ -1,7 +1,7 @@
 # intel2gas 1.3.3 (c)1999 Mikko Tiihonen (mikko.tiihonen@hut.fi)
 # Makefile by brn (c.nentwich@cs.ucl.ac.uk)
 
-CXX = g++
+#CXX = g++
 
 # CXXFLAGS = -O6 -mpentium -malign-jumps=2 -malign-functions=2 -malign-loops=2 
 # Just kidding :)
@@ -39,13 +39,14 @@
 
 
 install:
-	install -m 755 -d $(data_prefix)
+	$(BSD_INSTALL_DATA_DIR) $(data_prefix)
 	for datadir in $(DATADIRS); do \
-	  install -m 755 -d $(data_prefix)/$$datadir; \
-	  cp -a $$datadir/* $(data_prefix)/$$datadir; \
+	  $(BSD_INSTALL_DATA_DIR) $(data_prefix)/$$datadir; \
+	  $(BSD_INSTALL_DATA)  $$datadir/*.list $(data_prefix)/$$datadir; \
+	  $(BSD_INSTALL_DATA)  $$datadir/*.syntax $(data_prefix)/$$datadir; \
 	done
-	install -m 755 -d $(prefix)/bin
-	install -s -m 755 intel2gas $(prefix)/bin
+	$(BSD_INSTALL_DATA_DIR) $(prefix)/bin
+	$(BSD_INSTALL_PROGRAM) intel2gas $(prefix)/bin
 
 uninstall:
 	for datadir in $(DATADIRS); do \