1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/devel/asis/files/patch-ab
Will Andrews 2ed5dbefe7 Update to 3.13p.
PR:		23645
Submitted by:	MAINTAINER
2000-12-21 10:09:32 +00:00

31 lines
968 B
Plaintext

--- obj/Makefile.dist Wed Jul 19 21:09:05 2000
+++ obj/Makefile Tue Dec 19 18:16:57 2000
@@ -18,11 +18,11 @@
endif
bld-objs:
- gcc -c $(GNATMAKE_FLAGS) -I$(GNAT_DIR) -I$(ASIS_DIR) install_asis.adb
+ $(CC) -c $(GNATMAKE_FLAGS) -I$(GNAT_DIR) -I$(ASIS_DIR) install_asis.adb
# install_asis.adb is not '-gnatg-compilable'
ifeq "$(findstring hppa, $(host))" "hppa"
# this file has problems when compiled with optimization see 7418-013
- gcc -c -I$(GNAT_DIR) $(CFLAGS) -O0 $(ASIS_DIR)/a4g-a_sinput.adb
+ $(CC) -c -I$(GNAT_DIR) $(CFLAGS) -O0 $(ASIS_DIR)/a4g-a_sinput.adb
endif
gnatmake -c $(GNATMAKE_FLAGS) -aI$(GNAT_DIR) -aI$(ASIS_DIR) $(CFLAGS)\
install_asis.adb \
@@ -31,11 +31,11 @@
libasis$(soext): clean
$(MAKE) -e bld-objs CFLAGS="$(CFLAGS) -fPIC"
- gcc -shared -o libasis$(soext) *$(objext)
+ $(CC) -shared -o libasis$(soext) *$(objext)
clean:
$(RM) *$(objext)
$(RM) *.ali
$(RM) *$(arext)
$(RM) *$(soext)
- $(RM) *~
+ $(RM) *~