ports/57152: pear-* ports: simplify path to devel/pear-PEAR/Makefile.common

Roman Neuhauser neuhauser at bellavista.cz
Wed Sep 24 10:10:24 UTC 2003


>Number:         57152
>Category:       ports
>Synopsis:       pear-* ports: simplify path to devel/pear-PEAR/Makefile.common
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 24 03:10:21 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Roman Neuhauser
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD freepuppy.bellavista.cz 4.8-STABLE FreeBSD 4.8-STABLE #3: Tue Aug 26 12:34:53 CEST 2003 roman at freepuppy.bellavista.cz:/usr/obj/usr/src/sys/FREEPUPPY2_5 i386


	
>Description:
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"

can be simplified to:

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"

the latter version also doesn't make any assumptions about the path of
including Makefile

>How-To-Repeat:
	
>Fix:

	

--- pear-ports-.CURDIR-PORTSDIR.patch begins here ---
--- ./archivers/pear-Archive_Tar.orig/Makefile	Wed Jun 11 15:28:04 2003
+++ ./archivers/pear-Archive_Tar/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${MKDIR} ${PEARDIR}/Archive
--- ./databases/pear-DB.orig/Makefile	Mon Jul 14 10:58:14 2003
+++ ./databases/pear-DB/Makefile	Wed Sep 24 11:44:20 2003
@@ -17,7 +17,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	DB DB.php tests
 DOCS=		IDEAS MAINTAINERS STATUS TESTERS
--- ./devel/pear-Config.orig/Makefile	Mon Sep  8 02:34:19 2003
+++ ./devel/pear-Config/Makefile	Wed Sep 24 11:44:20 2003
@@ -18,7 +18,7 @@
 		${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	Apache.php IniCommented.php PHPArray.php GenericConf.php IniFile.php XML.php
 
--- ./devel/pear-apd.orig/Makefile	Mon Sep  8 04:50:42 2003
+++ ./devel/pear-apd/Makefile	Wed Sep 24 11:44:20 2003
@@ -20,8 +20,8 @@
 CONFIGURE_ARGS=	--enable-apd
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/lang/php4/bsd.php.mk"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 .if exists(${LOCALBASE}/bin/php-config)
 EXT_DIR!=	${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \
--- ./devel/pear-Console_Getopt.orig/Makefile	Wed Jun 11 15:32:03 2003
+++ ./devel/pear-Console_Getopt/Makefile	Wed Sep 24 11:44:20 2003
@@ -17,7 +17,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${MKDIR} ${PEARDIR}/Console
--- ./devel/pear-PEAR.orig/Makefile	Mon Aug 25 03:46:27 2003
+++ ./devel/pear-PEAR/Makefile	Wed Sep 24 11:44:20 2003
@@ -17,7 +17,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	OS PEAR PEAR.php System.php package.dtd scripts template.spec
 
--- ./devel/pear-Date.orig/Makefile	Wed Jun 11 15:32:03 2003
+++ ./devel/pear-Date/Makefile	Wed Sep 24 11:44:20 2003
@@ -19,7 +19,7 @@
 NO_BUILD=	yes
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	Date Date.php
 
--- ./devel/pear-HTML_Common.orig/Makefile	Tue Jun 24 14:54:24 2003
+++ ./devel/pear-HTML_Common/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${MKDIR} ${PEARDIR}/HTML
--- ./devel/pear-I18N.orig/Makefile	Fri Sep 12 18:27:37 2003
+++ ./devel/pear-I18N/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	Common.php Country.php Currency.php DateTime.php Format.php	\
 		Language.php Negotiator.php Number.php
--- ./devel/pear-HTML_Select_Common.orig/Makefile	Wed Jun 11 15:32:03 2003
+++ ./devel/pear-HTML_Select_Common/Makefile	Wed Sep 24 11:44:20 2003
@@ -20,7 +20,7 @@
 EXAMPLESDIR=	${PEARDIR}/HTML/Select/Common/examples
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	Country.php FRDepartements.php UKCounty.php USState.php
 EXAMPLES=	Country.php FRDepartements.php UKCounty.php USState.php
--- ./devel/pear-Console_Table.orig/Makefile	Mon Sep  1 00:03:48 2003
+++ ./devel/pear-Console_Table/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	Table.php
 
--- ./devel/pear-HTML_Template_IT.orig/Makefile	Wed Sep  3 03:07:27 2003
+++ ./devel/pear-HTML_Template_IT/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	IT.php ITX.php IT_Error.php
 TESTDIR=	${PEARDIR}/tests/${PORTNAME}
--- ./devel/pear-HTML_Template_PHPLIB.orig/Makefile	Mon Sep  8 04:13:02 2003
+++ ./devel/pear-HTML_Template_PHPLIB/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 TESTDIR=	${PEARDIR}/tests/${PORTNAME}
 
--- ./devel/pear-XML_Parser.orig/Makefile	Mon Sep  8 02:29:37 2003
+++ ./devel/pear-XML_Parser/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 TESTDIR=	${PEARDIR}/tests/${PORTNAME}
 
--- ./devel/pear-XML_RSS.orig/Makefile	Mon Sep  8 04:39:57 2003
+++ ./devel/pear-XML_RSS/Makefile	Wed Sep 24 11:44:20 2003
@@ -17,7 +17,7 @@
 		${PEARDIR}/XML/Tree.php:${PORTSDIR}/devel/pear-XML_Tree
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 TESTDIR=	${PEARDIR}/tests/${PORTNAME}
 
--- ./devel/pear-XML_Serializer.orig/Makefile	Mon Sep  8 04:30:58 2003
+++ ./devel/pear-XML_Serializer/Makefile	Wed Sep 24 11:44:20 2003
@@ -18,7 +18,7 @@
 		${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	Serializer.php Unserializer.php
 
--- ./devel/pear-XML_Tree.orig/Makefile	Mon Sep  8 04:16:33 2003
+++ ./devel/pear-XML_Tree/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${MKDIR} ${PEARDIR}/XML/Tree
--- ./devel/pear-XML_Util.orig/Makefile	Mon Sep  8 02:21:11 2003
+++ ./devel/pear-XML_Util/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 TESTDIR=	${PEARDIR}/tests/${PORTNAME}
 
--- ./devel/pear-XML_XPath.orig/Makefile	Wed Sep 24 11:14:15 2003
+++ ./devel/pear-XML_XPath/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 .if defined(PACKAGE_BUILDING)
 IGNORE=		No package building: The default libraries in the PHP package do not support domxml by default.
--- ./mail/pear-Mail_Mime.orig/Makefile	Wed Jun 11 15:35:29 2003
+++ ./mail/pear-Mail_Mime/Makefile	Wed Sep 24 11:44:20 2003
@@ -17,7 +17,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${CP} -Rp ${WRKSRC}/* ${PEARDIR}/Mail
--- ./mail/pear-mailparse.orig/Makefile	Sun Aug 31 19:35:41 2003
+++ ./mail/pear-mailparse/Makefile	Wed Sep 24 11:44:20 2003
@@ -20,8 +20,8 @@
 USE_PHPIZE=	yes
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/lang/php4/bsd.php.mk"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 .if exists(${LOCALBASE}/bin/php-config)
 EXT_DIR!=	${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \
--- ./mail/pear-Mail.orig/Makefile	Fri Sep 12 18:28:46 2003
+++ ./mail/pear-Mail/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${CP} -Rp ${WRKSRC}/* ${PEARDIR}
--- ./net/pear-Net_Sieve.orig/Makefile	Wed Jun 11 15:37:13 2003
+++ ./net/pear-Net_Sieve/Makefile	Wed Sep 24 11:44:20 2003
@@ -17,7 +17,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${CP} -Rp ${WRKSRC}/* ${PEARDIR}/Net
--- ./net/pear-Net_Socket.orig/Makefile	Wed Jun 11 15:37:13 2003
+++ ./net/pear-Net_Socket/Makefile	Wed Sep 24 11:44:20 2003
@@ -17,7 +17,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${MKDIR} ${PEARDIR}/Net
--- ./net/pear-Net_SMTP.orig/Makefile	Wed Jun 11 15:37:13 2003
+++ ./net/pear-Net_SMTP/Makefile	Wed Sep 24 11:44:20 2003
@@ -18,7 +18,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	Net/SMTP.php
 
--- ./net/pear-Net_NNTP.orig/Makefile	Thu Aug 28 10:40:38 2003
+++ ./net/pear-Net_NNTP/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 LIB_FILES=	NNTP/Protocol.php NNTP/Header.php NNTP/Message.php
 
--- ./security/pear-Crypt_CBC.orig/Makefile	Wed Jun 11 15:38:30 2003
+++ ./security/pear-Crypt_CBC/Makefile	Wed Sep 24 11:44:20 2003
@@ -17,7 +17,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${MKDIR} ${PEARDIR}/Crypt
--- ./security/pear-Auth.orig/Makefile	Sun Aug 31 19:36:42 2003
+++ ./security/pear-Auth/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	Auth.php Container Container.php
 TESTDIR=	${PEARDIR}/tests/${PORTNAME}
--- ./security/pear-Auth_SASL.orig/Makefile	Wed Jun 11 15:38:30 2003
+++ ./security/pear-Auth_SASL/Makefile	Wed Sep 24 11:44:20 2003
@@ -17,7 +17,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 MANIFEST=	SASL.php SASL
 
--- ./sysutils/pear-File.orig/Makefile	Wed Jun 11 15:39:07 2003
+++ ./sysutils/pear-File/Makefile	Wed Sep 24 11:44:20 2003
@@ -17,7 +17,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${CP} -Rp ${WRKSRC}/* ${PEARDIR}
--- ./sysutils/pear-Log.orig/Makefile	Sun Aug 31 19:36:47 2003
+++ ./sysutils/pear-Log/Makefile	Wed Sep 24 11:44:20 2003
@@ -16,7 +16,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${CP} -Rp ${WRKSRC}/* ${PEARDIR}
--- ./sysutils/pear-File_Find.orig/Makefile	Tue Jun 17 17:49:22 2003
+++ ./sysutils/pear-File_Find/Makefile	Wed Sep 24 11:44:20 2003
@@ -20,7 +20,7 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 do-install:
 	@${INSTALL_DATA} ${WRKSRC}/Find.php ${PEARDIR}/File/Find.php
--- ./www/pear-APC.orig/Makefile	Wed Sep  3 03:04:11 2003
+++ ./www/pear-APC/Makefile	Wed Sep 24 11:44:21 2003
@@ -20,8 +20,8 @@
 CONFIGURE_ARGS=	--enable-apc
 
 .include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+.include "${PORTSDIR}/lang/php4/bsd.php.mk"
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 
 .if exists(${LOCALBASE}/bin/php-config)
 EXT_DIR!=	${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \
--- pear-ports-.CURDIR-PORTSDIR.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list