Skip to content

Commit

Permalink
Fixed some pkglint warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
rillig committed May 1, 2006
1 parent ecd97f6 commit ff29c68
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions databases/php-pdo/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2006/02/05 23:08:33 joerg Exp $
# $NetBSD: Makefile,v 1.4 2006/05/01 13:52:55 rillig Exp $

PDO_DRIVER= # empty
PDO_VERSION= 1.0.2
Expand All @@ -18,9 +18,9 @@ PDO_INCLUDES= php_pdo_driver.h php_pdo.h

post-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/php/ext/pdo
for inc in ${PDO_INCLUDES}; do \
${INSTALL_DATA} ${WRKSRC}/$$inc ${PREFIX}/include/php/ext/pdo/$$inc;\
done
.for inc ${PDO_INCLUDES}
${INSTALL_DATA} ${WRKSRC}/${inc:Q} ${PREFIX}/include/php/ext/pdo/${inc:Q}
.endfor

.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
20 changes: 10 additions & 10 deletions databases/php-pdo/buildlink3.mk
@@ -1,20 +1,20 @@
# $NetBSD: buildlink3.mk,v 1.4 2006/04/06 06:21:42 reed Exp $
# $NetBSD: buildlink3.mk,v 1.5 2006/05/01 13:52:55 rillig Exp $

BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PHP_PDO_BUILDLINK3_MK:= ${PHP_PDO_BUILDLINK3_MK}+
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PHP_PDO_BUILDLINK3_MK:= ${PHP_PDO_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= php-pdo
BUILDLINK_DEPENDS+= php-pdo
.endif

BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nphp-pdo}
BUILDLINK_PACKAGES+= php-pdo
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nphp-pdo}
BUILDLINK_PACKAGES+= php-pdo

.if !empty(PHP_PDO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.php-pdo+= php-pdo-5.*
BUILDLINK_ABI_DEPENDS.php-pdo?= php-pdo>=5.1.1.1.0.2nb1
BUILDLINK_PKGSRCDIR.php-pdo?= ../../databases/php-pdo
BUILDLINK_INCDIRS.php-pdo?= include/php/ext/pdo
BUILDLINK_API_DEPENDS.php-pdo+= php-pdo-5.*
BUILDLINK_ABI_DEPENDS.php-pdo?= php-pdo>=5.1.1.1.0.2nb1
BUILDLINK_PKGSRCDIR.php-pdo?= ../../databases/php-pdo
BUILDLINK_INCDIRS.php-pdo?= include/php/ext/pdo
.endif # PHP_PDO_BUILDLINK3_MK

.include "../../lang/php/ext.mk"
Expand Down

0 comments on commit ff29c68

Please sign in to comment.