pkgsrc/devel/intel2gas/patches/patch-aa
2009-11-29 23:34:31 +00:00

35 lines
1.2 KiB
Text

$NetBSD: patch-aa,v 1.2 2009/11/29 23:34:31 dholland Exp $
Config and installation for pkgsrc.
--- 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) $(DESTDIR)$(data_prefix)
for datadir in $(DATADIRS); do \
- install -m 755 -d $(data_prefix)/$$datadir; \
- cp -a $$datadir/* $(data_prefix)/$$datadir; \
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(data_prefix)/$$datadir; \
+ $(BSD_INSTALL_DATA) $$datadir/*.list $(DESTDIR)$(data_prefix)/$$datadir; \
+ $(BSD_INSTALL_DATA) $$datadir/*.syntax $(DESTDIR)$(data_prefix)/$$datadir; \
done
- install -m 755 -d $(prefix)/bin
- install -s -m 755 intel2gas $(prefix)/bin
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/bin
+ $(BSD_INSTALL_PROGRAM) intel2gas $(DESTDIR)$(prefix)/bin
uninstall:
for datadir in $(DATADIRS); do \