diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-03-07 07:52:50 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-03-07 07:52:50 (GMT) |
commit | fe9811173cf913eb0cd9b4395d2ede1a51803c61 (patch) | |
tree | 74ca4bb1c4c4bfe46a20fa5d81954e8935ac2943 /src/winpcap.mk | |
parent | 925be151720885abad8845c00613900c2bdb1bee (diff) | |
download | mxe-fe9811173cf913eb0cd9b4395d2ede1a51803c61.zip mxe-fe9811173cf913eb0cd9b4395d2ede1a51803c61.tar.gz mxe-fe9811173cf913eb0cd9b4395d2ede1a51803c61.tar.bz2 |
portability fix for Open Solaris: when "ginstall" exists, use that instead of "install"
Diffstat (limited to 'src/winpcap.mk')
-rw-r--r-- | src/winpcap.mk | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/winpcap.mk b/src/winpcap.mk index a65f3b4..00fc524 100644 --- a/src/winpcap.mk +++ b/src/winpcap.mk @@ -25,10 +25,10 @@ define $(PKG)_BUILD cd '$(1)' && $(TARGET)-gcc -Icommon -O -c '$(1)/Packet9x/DLL/Packet32.c' $(TARGET)-ar rc '$(1)/libpacket.a' '$(1)/Packet32.o' $(TARGET)-ranlib '$(1)/libpacket.a' - install -d '$(PREFIX)/$(TARGET)/include' - install -m644 '$(1)/common'/*.h '$(PREFIX)/$(TARGET)/include/' - install -d '$(PREFIX)/$(TARGET)/lib' - install -m644 '$(1)/libpacket.a' '$(PREFIX)/$(TARGET)/lib/' + $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' + $(INSTALL) -m644 '$(1)/common'/*.h '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' + $(INSTALL) -m644 '$(1)/libpacket.a' '$(PREFIX)/$(TARGET)/lib/' mv '$(1)/wpcap/libpcap/Win32/Include/ip6_misc.h' '$(1)/wpcap/libpcap/Win32/Include/IP6_misc.h' $(SED) 's,(char\*)tUstr +=,tUstr +=,' -i '$(1)/wpcap/libpcap/inet.c' $(SED) 's,-DHAVE_AIRPCAP_API,,' -i '$(1)/wpcap/PRJ/GNUmakefile' @@ -40,8 +40,8 @@ define $(PKG)_BUILD AR='$(TARGET)-ar' \ RANLIB='$(TARGET)-ranlib' \ $(MAKE) -C '$(1)/wpcap/PRJ' -j 1 libwpcap.a - install -d '$(PREFIX)/$(TARGET)/include' - install -m644 '$(1)/wpcap/libpcap/'*.h '$(1)/wpcap/Win32-Extensions/'*.h '$(PREFIX)/$(TARGET)/include/' - install -d '$(PREFIX)/$(TARGET)/lib' - install -m644 '$(1)/wpcap/PRJ/libwpcap.a' '$(PREFIX)/$(TARGET)/lib/' + $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' + $(INSTALL) -m644 '$(1)/wpcap/libpcap/'*.h '$(1)/wpcap/Win32-Extensions/'*.h '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' + $(INSTALL) -m644 '$(1)/wpcap/PRJ/libwpcap.a' '$(PREFIX)/$(TARGET)/lib/' endef |