1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/Sockets/files/patch-Makefile
Josh Paetzel 8704ece7c5 Upgrade to 2.3.9.2
Assign new maintainer

PR:	ports/148245
Submitted by:	Andrea Venturoli <ml@netfence.it>
2010-07-16 16:37:42 +00:00

31 lines
1.4 KiB
Plaintext

--- /Makefile.orig 2010-06-29 21:16:10.000000000 +0200
+++ Makefile 2010-06-29 21:17:45.000000000 +0200
@@ -90,9 +90,9 @@
install: all
@mkdir -p $(DESTDIR)/$(PREFIX)/lib
- cp $(LIBNAME) $(DESTDIR)/$(PREFIX)/lib
+ @${BSD_INSTALL_DATA} $(LIBNAME) $(DESTDIR)/$(PREFIX)/lib
@mkdir -p $(DESTDIR)/$(PREFIX)/include/$(NAME)
- cp -a *.h $(DESTDIR)/$(PREFIX)/include/$(NAME)
+ @${BSD_INSTALL_DATA} *.h $(DESTDIR)/$(PREFIX)/include/$(NAME)
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/SSLSocket.*
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/HttpsGetSocket.*
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/HttpsSocket.*
@@ -106,12 +106,12 @@
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/Min*Handler.h
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/Uid.h
@mkdir -p $(DESTDIR)/$(PREFIX)/bin
- install $(CONFNAME) $(DESTDIR)/$(PREFIX)/bin
+ @${BSD_INSTALL_PROGRAM} $(CONFNAME) $(DESTDIR)/$(PREFIX)/bin
install_shared: install shared
@mkdir -p $(DESTDIR)/$(PREFIX)/lib/pkgconfig
- cp $(SHAREDLIBNAME) $(DESTDIR)/$(PREFIX)/lib
- cp -a pkgconfig/*pc $(DESTDIR)/$(PREFIX)/lib/pkgconfig
+ @${BSD_INSTALL_DATA} $(SHAREDLIBNAME) $(DESTDIR)/$(PREFIX)/lib
+ @${BSD_INSTALL_DATA} pkgconfig/*pc $(DESTDIR)/$(PREFIX)/libdata/pkgconfig
rm -f $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so
rm -f $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so.$(MAJOR)
ln -s $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so