[Midnightbsd-cvs] mports [22352] trunk/devel/pear/Makefile: try to clean up our mess

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Feb 25 12:51:02 EST 2017


Revision: 22352
          http://svnweb.midnightbsd.org/mports/?rev=22352
Author:   laffer1
Date:     2017-02-25 12:51:02 -0500 (Sat, 25 Feb 2017)
Log Message:
-----------
try to clean up our mess

Modified Paths:
--------------
    trunk/devel/pear/Makefile

Modified: trunk/devel/pear/Makefile
===================================================================
--- trunk/devel/pear/Makefile	2017-02-25 17:44:46 UTC (rev 22351)
+++ trunk/devel/pear/Makefile	2017-02-25 17:51:02 UTC (rev 22352)
@@ -39,10 +39,6 @@
 	@cd ${WRKSRC} && ${SETENV} DESTDIR=${FAKE_DESTDIR} ${LOCALBASE}/bin/php -q ./go-pear
 	@${SED} -i "" "s|<?php|<?php dl('pcre.so'); dl('xml.so');|" \
 		${STAGEDIR}${PEARDIR}/peclcmd.php
-# pear violates stage when staging as root, hide this
-.if defined(PACKAGE_BUILDING)
-	-${RM} -r ${PEARDIR}
-.endif
 # Clean up orphans re-generated by pkg-install
 	-${RM} -r ${STAGEDIR}${PEARDIR}/.depdb ${STAGEDIR}${PEARDIR}/.depdblock ${STAGEDIR}${PEARDIR}/.filemap ${STAGEDIR}${PEARDIR}/.lock
 



More information about the Midnightbsd-cvs mailing list