Author: bdrewery
Date: Sat Oct  3 16:21:53 2015
New Revision: 288610
URL: https://svnweb.freebsd.org/changeset/base/288610

Log:
  MFC r273756,r287980:
  
    r273756:
      only install .pc files when we are not installing 32bit compat libs...
    r287980:
      Replace beforeinstall: handling with FILES.

Modified:
  stable/10/gnu/usr.bin/groff/src/utils/indxbib/Makefile
  stable/10/lib/libusb/Makefile
  stable/10/lib/libz/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/gnu/usr.bin/groff/src/utils/indxbib/Makefile
==============================================================================
--- stable/10/gnu/usr.bin/groff/src/utils/indxbib/Makefile      Sat Oct  3 
16:21:06 2015        (r288609)
+++ stable/10/gnu/usr.bin/groff/src/utils/indxbib/Makefile      Sat Oct  3 
16:21:53 2015        (r288610)
@@ -5,9 +5,7 @@ SRCS=           indxbib.cpp signal.c
 DPADD=         ${LIBBIB} ${LIBGROFF} ${LIBM}
 LDADD=         ${LIBBIB} ${LIBGROFF} -lm
 CLEANFILES=    ${MAN}
-
-beforeinstall:
-       ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
-           ${DIST_DIR}/eign ${DESTDIR}${SHAREDIR}/dict/
+FILES=         ${DIST_DIR}/eign
+FILESDIR=      ${SHAREDIR}/dict/
 
 .include <bsd.prog.mk>

Modified: stable/10/lib/libusb/Makefile
==============================================================================
--- stable/10/lib/libusb/Makefile       Sat Oct  3 16:21:06 2015        
(r288609)
+++ stable/10/lib/libusb/Makefile       Sat Oct  3 16:21:53 2015        
(r288610)
@@ -36,16 +36,11 @@ SRCS+=              libusb10_io.c
 
 .if defined(COMPAT_32BIT)
 CFLAGS+=       -DCOMPAT_32BIT
+.else
+FILES=         libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc
+FILESDIR=      ${LIBDATADIR}/pkgconfig
 .endif
 
-beforeinstall:
-       ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
-               ${.CURDIR}/libusb-0.1.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
-       ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
-               ${.CURDIR}/libusb-1.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
-       ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
-               ${.CURDIR}/libusb-2.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
-
 #
 # Cross platform support
 #

Modified: stable/10/lib/libz/Makefile
==============================================================================
--- stable/10/lib/libz/Makefile Sat Oct  3 16:21:06 2015        (r288609)
+++ stable/10/lib/libz/Makefile Sat Oct  3 16:21:53 2015        (r288610)
@@ -68,9 +68,10 @@ test: example minigzip
        (export LD_LIBRARY_PATH=. ; \
                echo hello world | ./minigzip | ./minigzip -d )
 
-beforeinstall:
-       ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
-               ${.CURDIR}/zlib.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
+.ifndef COMPAT_32BIT
+FILES=         zlib.pc
+FILESDIR=      ${LIBDATADIR}/pkgconfig
+.endif
 
 .include <bsd.lib.mk>
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to