diff options
author | rillig <rillig@pkgsrc.org> | 2006-05-21 16:13:34 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-05-21 16:13:34 +0000 |
commit | 88afb47d6cb45944068daeb6729b68a24831d164 (patch) | |
tree | 41759454022b0c27ef0a8ee23e0430b19f62728c /databases | |
parent | f8f1432afc2f8ee7009fec2b84ea6ea505617b8d (diff) | |
download | pkgsrc-88afb47d6cb45944068daeb6729b68a24831d164.tar.gz |
Fixed pkglint warnings.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/shared-mime-info/Makefile | 6 | ||||
-rw-r--r-- | databases/shared-mime-info/buildlink3.mk | 21 |
2 files changed, 13 insertions, 14 deletions
diff --git a/databases/shared-mime-info/Makefile b/databases/shared-mime-info/Makefile index 8a317b14d42..5b809c9ce24 100644 --- a/databases/shared-mime-info/Makefile +++ b/databases/shared-mime-info/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/05/08 19:41:47 jschauma Exp $ +# $NetBSD: Makefile,v 1.19 2006/05/21 16:13:34 rillig Exp $ # DISTNAME= shared-mime-info-0.17 @@ -22,10 +22,10 @@ CONFIGURE_ARGS+= --disable-update-mimedb CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" -.include "../../mk/compiler.mk" +.include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Mmipspro*) -CFLAGS+= -c99 +CFLAGS+= -c99 .endif DEINSTALL_TEMPLATE+= ${PKGDIR}/INSTALL diff --git a/databases/shared-mime-info/buildlink3.mk b/databases/shared-mime-info/buildlink3.mk index c30e2f9c295..540ba9c7dff 100644 --- a/databases/shared-mime-info/buildlink3.mk +++ b/databases/shared-mime-info/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.5 2006/04/12 10:27:05 rillig Exp $ +# $NetBSD: buildlink3.mk,v 1.6 2006/05/21 16:13:34 rillig Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ SHARED_MIME_INFO_BUILDLINK3_MK:= ${SHARED_MIME_INFO_BUILDLINK3_MK}+ @@ -12,23 +12,18 @@ BUILDLINK_PACKAGES+= shared-mime-info .if !empty(SHARED_MIME_INFO_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.shared-mime-info+= shared-mime-info>=0.15 -BUILDLINK_ABI_DEPENDS.shared-mime-info?= shared-mime-info>=0.16nb2 +BUILDLINK_ABI_DEPENDS.shared-mime-info+= shared-mime-info>=0.16nb2 BUILDLINK_PKGSRCDIR.shared-mime-info?= ../../databases/shared-mime-info -.endif # SHARED_MIME_INFO_BUILDLINK3_MK - -.include "../../devel/gettext-lib/buildlink3.mk" -.include "../../devel/glib2/buildlink3.mk" -.include "../../textproc/libxml2/buildlink3.mk" -.if !empty(SHARED_MIME_INFO_BUILDLINK3_MK:M+) BUILDLINK_TARGETS+= shared-mime-info-buildlink-fake _SMI_FAKE_UPDATEDB= ${BUILDLINK_DIR}/bin/update-mime-database +.PHONY: shared-mime-info-buildlink-fake shared-mime-info-buildlink-fake: - ${_PKG_SILENT}${_PKG_DEBUG} \ - if [ ! -f ${_SMI_FAKE_UPDATEDB} ]; then \ - ${ECHO_BUILDLINK_MSG} "Creating ${_SMI_FAKE_UPDATEDB}"; \ + ${_PKG_SILENT}${_PKG_DEBUG}set -e; \ + if [ ! -f ${_SMI_FAKE_UPDATEDB:Q} ]; then \ + ${ECHO_BUILDLINK_MSG} "Creating "${_SMI_FAKE_UPDATEDB:Q}; \ ${MKDIR} ${_SMI_FAKE_UPDATEDB:H}; \ ${ECHO} "#!/bin/sh" > ${_SMI_FAKE_UPDATEDB}; \ ${ECHO} "echo '[pkgsrc] Doing nothing for update-mime-database' \$$*" >> ${_SMI_FAKE_UPDATEDB}; \ @@ -36,4 +31,8 @@ shared-mime-info-buildlink-fake: fi .endif # SHARED_MIME_INFO_BUILDLINK3_MK +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" + BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |