5abef9be14
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2006/04/06 06:23:01 reed Exp $
|
|
|
|
DISTNAME= lablgtk-1.2.7
|
|
PKGREVISION= 3
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
|
|
COMMENT= GTK+ bindings for ocaml
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
BUILDLINK_DEPMETHOD.ocaml= full
|
|
BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.0.5
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# currently ocamlopt is only available on i386, sparc and powerpc.
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
|
|
(${MACHINE_ARCH} == "sparc")
|
|
USE_DOTOPT= YES
|
|
.else
|
|
CAMLOPT= ocamlc
|
|
MAKE_ENV+= CAMLOPT=${CAMLOPT:Q}
|
|
PLIST_SRC= ${PKGDIR}/PLIST.noopt
|
|
.endif
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.stub
|
|
.endif
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
|
|
configure USE_DOTOPT=${USE_DOTOPT} USE_CC=1 CC=${CC}
|
|
|
|
.if defined(USE_DOTOPT)
|
|
post-build:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
|
|
opt
|
|
.endif
|
|
|
|
.include "../../x11/gtk/buildlink3.mk"
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|