diff options
author | zuntum <zuntum> | 2001-06-26 13:06:21 +0000 |
---|---|---|
committer | zuntum <zuntum> | 2001-06-26 13:06:21 +0000 |
commit | bb40f87d3c1065f1384f21be6201c6bee56c36b0 (patch) | |
tree | d5dfff5d3718d6cff216ca5dd6885c44ecdc3214 /audio | |
parent | 729e49c0c103ef68de97120a410f22a9132435b7 (diff) | |
download | pkgsrc-bb40f87d3c1065f1384f21be6201c6bee56c36b0.tar.gz |
o add buildlink.mk file for use by other packages
o set USE_BUILDLINK_ONLY
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libogg/Makefile | 3 | ||||
-rw-r--r-- | audio/libogg/buildlink.mk | 35 |
2 files changed, 37 insertions, 1 deletions
diff --git a/audio/libogg/Makefile b/audio/libogg/Makefile index 3bd90e4dd5a..055cae4e640 100644 --- a/audio/libogg/Makefile +++ b/audio/libogg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/04/11 08:59:09 tron Exp $ +# $NetBSD: Makefile,v 1.4 2001/06/26 13:06:21 zuntum Exp $ DISTNAME= libogg-1.0beta4 PKGNAME= libogg-1.0.0.4 @@ -9,6 +9,7 @@ MAINTAINER= reed@reedmedia.net HOMEPAGE= http://www.xiph.org/ogg/ COMMENT= Ogg project codecs library +USE_BUILDLINK_ONLY= YES GNU_CONFIGURE= yes USE_LIBTOOL= yes LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig diff --git a/audio/libogg/buildlink.mk b/audio/libogg/buildlink.mk new file mode 100644 index 00000000000..b7ae8aecefc --- /dev/null +++ b/audio/libogg/buildlink.mk @@ -0,0 +1,35 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/26 13:06:21 zuntum Exp $ +# +# This Makefile fragment is included by packages that use libogg. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.libogg to the dependency pattern +# for the version of libogg desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(LIGOGG_BUILDLINK_MK) +LIGOGG_BUILDLINK_MK= # defined + +BUILDLINK_DEPENDS.libogg?= libogg>=1.0.0.4 +DEPENDS+= ${BUILDLINK_DEPENDS.libogg}:../../audio/libogg + +BUILDLINK_PREFIX.libogg= ${LOCALBASE} +BUILDLINK_FILES.libogg= include/ogg/config_types.h +BUILDLINK_FILES.libogg+= include/ogg/ogg.h +BUILDLINK_FILES.libogg+= include/ogg/os_types.h +BUILDLINK_FILES.libogg+= lib/libogg.* + +BUILDLINK_TARGETS.libogg= libogg-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libogg} + +pre-configure: ${BUILDLINK_TARGETS.libogg} +libogg-buildlink: _BUILDLINK_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # LIGOGG_BUILDLINK_MK |