Date: Sat, 5 Sep 2015 11:19:17 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396165 - in head/ports-mgmt/pkg_cleanup: . files Message-ID: <201509051119.t85BJHvM011001@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Sat Sep 5 11:19:17 2015 New Revision: 396165 URL: https://svnweb.freebsd.org/changeset/ports/396165 Log: - Mute extraction commands and do not use shell wildcards if possible - Remove IGNORE on FreeBSD versions before 900038, they're unsupported - Do not claim that port is broken on PowerPC (builds and links fine) - Remove custom naive `do-build' target: add missing `all' target to supplied Makefile instead Modified: head/ports-mgmt/pkg_cleanup/Makefile head/ports-mgmt/pkg_cleanup/files/Makefile Modified: head/ports-mgmt/pkg_cleanup/Makefile ============================================================================== --- head/ports-mgmt/pkg_cleanup/Makefile Sat Sep 5 09:53:21 2015 (r396164) +++ head/ports-mgmt/pkg_cleanup/Makefile Sat Sep 5 11:19:17 2015 (r396165) @@ -14,24 +14,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= sbin/pkg_cleanup \ man/man1/pkg_cleanup.1.gz -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 900000 && ${OSVERSION} < 900038 -IGNORE= requires r223289 or higher to compile -.endif -.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000 -BROKEN= Does not build on powerpc-9: undefined reference to 'sqrt' -.endif - do-extract: - ${MKDIR} ${WRKSRC} - ${CP} -R ${FILESDIR}/* ${WRKSRC} - -do-build: - make -C ${WRKSRC} + @${MKDIR} ${WRKSRC} + @${CP} -a ${FILESDIR}/ ${WRKSRC} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pkg_cleanup ${STAGEDIR}${PREFIX}/sbin/pkg_cleanup + ${INSTALL_PROGRAM} ${WRKSRC}/pkg_cleanup ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/pkg_cleanup.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/ports-mgmt/pkg_cleanup/files/Makefile ============================================================================== --- head/ports-mgmt/pkg_cleanup/files/Makefile Sat Sep 5 09:53:21 2015 (r396164) +++ head/ports-mgmt/pkg_cleanup/files/Makefile Sat Sep 5 11:19:17 2015 (r396165) @@ -2,5 +2,7 @@ LDLIBS += -lncursesw LDLIBS += -ldialog -pkg_cleanup: pkg_cleanup.c +all: pkg_cleanup + +pkg_cleanup: pkg_cleanup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509051119.t85BJHvM011001>