diff options
author | lawrance <lawrance@FreeBSD.org> | 2006-05-14 19:07:17 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2006-05-14 19:07:17 +0800 |
commit | 16387ea1d7495483161ddf766098f7ca26ae092d (patch) | |
tree | 25428345c84503e289a4777fd0db4eb191e1d2d8 /sysutils | |
parent | 0d492fa7fe671a589d2409b657f2509b015d35c5 (diff) | |
download | freebsd-ports-gnome-16387ea1d7495483161ddf766098f7ca26ae092d.tar.gz freebsd-ports-gnome-16387ea1d7495483161ddf766098f7ca26ae092d.tar.zst freebsd-ports-gnome-16387ea1d7495483161ddf766098f7ca26ae092d.zip |
Use SUB_FILES instead of post-patch commands.
PR: ports/97219
Submitted by: Ports Fury
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cdrtools-devel/Makefile | 8 | ||||
-rw-r--r-- | sysutils/cdrtools-devel/files/pkg-message.in (renamed from sysutils/cdrtools-devel/pkg-message) | 0 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile index 199d2be1d9ed..0947ede33c38 100644 --- a/sysutils/cdrtools-devel/Makefile +++ b/sysutils/cdrtools-devel/Makefile @@ -36,7 +36,7 @@ USE_BZIP2= yes USE_GMAKE= yes #CFLAGS+= -DSOURCE_MODIFIED WRKSRC= ${WRKDIR}/${DISTNAME:C/a(.+)$//} -PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message .if defined(WITH_RSCSI) PKGINSTALL= ${PKGDIR}/pkg-install.rscsi @@ -54,7 +54,7 @@ MAKE_ENV= CCOM=${CCOM} LANG=C CDRTLSTARGET= ${ARCH}-freebsd-${CCOM} .if ${OSVERSION} >= 501104 && ${OSVERSION} < 502113 -IGNORE= The mlockall(2) of your FreeBSD 5.x version causes problems when used by cdrecord. Please update FreeBSD to >= 5.3 in order to use this port +IGNORE= does not work with mlockall(2) on your version of FreeBSD 5.x. Please update to FreeBSD 5.3 or later in order to use this port .endif .if exists(${LOCALBASE}/lib/libcdio.a) || defined(WITH_CDDB) @@ -106,8 +106,6 @@ post-patch: # @${REINPLACE_CMD} -E -e \ # 's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \ # ${WRKSRC}/cdrecord/cdrecord.c - @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \ - ${WRKDIR}/pkg-message do-install: @${INSTALL_PROGRAM} ${WRKSRC}/btcflash/OBJ/${CDRTLSTARGET}/btcflash \ @@ -169,6 +167,6 @@ do-install: post-install: -@if [ -f ${PKGINSTALL} ]; then ${SETENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL; fi - @${CAT} ${WRKDIR}/pkg-message + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/sysutils/cdrtools-devel/pkg-message b/sysutils/cdrtools-devel/files/pkg-message.in index 2e93701dd3dc..2e93701dd3dc 100644 --- a/sysutils/cdrtools-devel/pkg-message +++ b/sysutils/cdrtools-devel/files/pkg-message.in |