![]() ![]() | ![]() |
Over 1200 files touched but no revisions bumped :) 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).
# $NetBSD: Makefile,v 1.13 2006/04/06 06:21:54 reed Exp $ DISTNAME= nss-3.9.2 PKGREVISION= 4 CATEGORIES= security MASTER_SITES?= ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_9_2_RTM/src/ MAINTAINER= mjl@luckie.org.nz HOMEPAGE= http://www.mozilla.org/projects/security/pki/nss/ COMMENT= Libraries to support development of security-enabled applications BUILD_DEPENDS+= zip>=2.3:../../archivers/zip # NSS will build and run on other platforms when MAINTAINER knows what # magic Makefile glue is required ONLY_FOR_PLATFORM+= NetBSD-*-* FreeBSD-*-* Linux-*-* DragonFly-*-* # Solaris has missing symbols when linking. It looks like some of those problem # have been addressed in the nss source tree so this should be enabled after # the next update. #SunOS-*-* WRKSRC= ${WRKDIR}/${DISTNAME}/mozilla/security/nss USE_TOOLS+= gmake perl DIST= ${WRKSRC}/../../dist BUILD_TARGET= nss_build_all MAKE_ENV+= LD_LIBS="-L${BUILDLINK_PREFIX.nspr}/lib/nspr ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.nspr}/lib/nspr ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/nss" MAKE_ENV+= LIBRUNPATH=${PREFIX}/lib BUILD_OPT=1 .include "../../mk/bsd.prefs.mk" .if ${OBJECT_FMT} == "ELF" SO_SUFFIX= so .elif ${OBJECT_FMT} == "Mach-O" SO_SUFFIX= dylib .else SO_SUFFIX= so.1.0 .endif PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX:Q} .if ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER} == "gcc" MAKEFLAGS+= NS_USE_GCC=YES .endif .if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" NSS_OBJ_DIR= ${OPSYS}${OS_VERSION}_OPT.OBJ .elif ${OPSYS} == "Linux" _NSS_SHORT_OS_VERSION!= echo ${OS_VERSION} | ${SED} -e 's/^\([[:digit:]]\.[[:digit:]]\)\..*$$/\1/' .if ${MACHINE_ARCH} == "i386" _NSS_MACHINE_ARCH= _x86 .elif ${MACHINE_ARCH} == "parisc" || ${MACHINE_ARCH} == "parisc64" _NSS_MACHINE_ARCH= _hppa .elif ${MACHINE_ARCH} == "sparc64" _NSS_MACHINE_ARCH= _sparc .else _NSS_MACHINE_ARCH= _${MACHINE_ARCH} .endif NSS_OBJ_DIR= ${OPSYS}${_NSS_SHORT_OS_VERSION}${_NSS_MACHINE_ARCH}_glibc_PTH_OPT.OBJ .endif pre-configure: ${CP} ${FILESDIR}/DragonFly.mk \ ${WRKDIR}/${DISTNAME}/mozilla/security/coreconf/ do-install: ${INSTALL_DATA_DIR} ${PREFIX}/include/nss ${INSTALL_DATA_DIR} ${PREFIX}/lib/nss (cd ${DIST}/public && ${PAX} -Lrwpe . ${PREFIX}/include/nss/ ) (cd ${DIST}/${NSS_OBJ_DIR}/lib && \ ${PAX} -Lrwpe *.${SO_SUFFIX} ${PREFIX}/lib/nss/ ) { ${ECHO} "Name: NSS"; \ ${ECHO} "Description: Mozilla Network Security Services"; \ ${ECHO} "Version: ${PKGVERSION}"; \ ${ECHO} "Cflags: -I${PREFIX}/include/nss"; \ ${ECHO} "Libs: -L${PREFIX}/lib/nss" \ "${COMPILER_RPATH_FLAG}${PREFIX}/lib/nss" \ "-lnss3 -lsmime3 -lssl3 -lsoftokn3 ${BUILDLINK_LIBS.pthread}"; \ } >${PREFIX}/lib/pkgconfig/nss.pc BUILDLINK_API_DEPENDS.nspr+= nspr>=4.4.1nb2 .include "../../devel/nspr/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"