mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
Update to 4.2 build 2005.
This commit is contained in:
parent
8defd42d3a
commit
6773a691f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280372
audio/oss
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= oss
|
||||
DISTVERSION= 4.2-build2004
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 4.2-build2005
|
||||
CATEGORIES= audio kld
|
||||
MASTER_SITES= http://www.opensound.com/developer/sources/stable/bsd/
|
||||
DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-bsd
|
||||
@ -71,20 +70,22 @@ CONFIGURE_ENV+= OGG_SUPPORT=YES
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
${FIND} ${WRKDIR}/${DISTNAME} -type f \
|
||||
-name '*.[ch]' -or -name '*.man' | \
|
||||
${FIND} ${PATCH_WRKSRC} -name '*.man' -or \
|
||||
\( -name '*.[ch]' \! -name ossmkdep.c \) | \
|
||||
${XARGS} ${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' \
|
||||
-e 's|/etc/oss|${PREFIX}/etc/oss|g'
|
||||
|
||||
post-patch:
|
||||
${FIND} ${WRKDIR} -name configure -or -name make.local -or \
|
||||
-name soundoff -or -name soundon -or -name srcconf.c | \
|
||||
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
${PATCH_WRKSRC}/setup/srcconf.c
|
||||
${FIND} ${PATCH_WRKSRC} -name configure -or \
|
||||
-name make.local -or -name soundoff -or -name soundon | \
|
||||
${XARGS} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g'
|
||||
|
||||
do-configure:
|
||||
${MKDIR} ${WRKSRC}
|
||||
(cd ${WRKSRC} && \
|
||||
${SETENV} ${CONFIGURE_ENV} ${WRKDIR}/${DISTNAME}/configure)
|
||||
${SETENV} ${CONFIGURE_ENV} ${PATCH_WRKSRC}/configure)
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${PROTO_BINDIR}/* ${PREFIX}/bin/
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (oss-v4.2-build2004-src-bsd.tar.bz2) = 77e7660af2745140712f6aaf90cc9ebab72e8ec1660a32f6b04fa4a57500c132
|
||||
SIZE (oss-v4.2-build2004-src-bsd.tar.bz2) = 1669242
|
||||
SHA256 (oss-v4.2-build2005-src-bsd.tar.bz2) = 1131771f40aa61cd73fe8f1e89f03030c4812769561b08f9859f409b6893f311
|
||||
SIZE (oss-v4.2-build2005-src-bsd.tar.bz2) = 1669594
|
||||
|
@ -5,7 +5,7 @@
|
||||
parms = "";
|
||||
if (getenv ("OGG_SUPPORT") != NULL)
|
||||
- parms = "-DOGG_SUPPORT";
|
||||
+ parms = "-DOGG_SUPPORT -I%%PREFIX%%/include";
|
||||
+ parms = "-DOGG_SUPPORT -I%%LOCALBASE%%/include";
|
||||
}
|
||||
|
||||
if (strcmp (line, "project") == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user