mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +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
@ -6,8 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= oss
|
PORTNAME= oss
|
||||||
DISTVERSION= 4.2-build2004
|
DISTVERSION= 4.2-build2005
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= audio kld
|
CATEGORIES= audio kld
|
||||||
MASTER_SITES= http://www.opensound.com/developer/sources/stable/bsd/
|
MASTER_SITES= http://www.opensound.com/developer/sources/stable/bsd/
|
||||||
DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-bsd
|
DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-bsd
|
||||||
@ -71,20 +70,22 @@ CONFIGURE_ENV+= OGG_SUPPORT=YES
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
${FIND} ${WRKDIR}/${DISTNAME} -type f \
|
${FIND} ${PATCH_WRKSRC} -name '*.man' -or \
|
||||||
-name '*.[ch]' -or -name '*.man' | \
|
\( -name '*.[ch]' \! -name ossmkdep.c \) | \
|
||||||
${XARGS} ${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' \
|
${XARGS} ${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' \
|
||||||
-e 's|/etc/oss|${PREFIX}/etc/oss|g'
|
-e 's|/etc/oss|${PREFIX}/etc/oss|g'
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${FIND} ${WRKDIR} -name configure -or -name make.local -or \
|
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||||
-name soundoff -or -name soundon -or -name srcconf.c | \
|
${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'
|
${XARGS} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g'
|
||||||
|
|
||||||
do-configure:
|
do-configure:
|
||||||
${MKDIR} ${WRKSRC}
|
${MKDIR} ${WRKSRC}
|
||||||
(cd ${WRKSRC} && \
|
(cd ${WRKSRC} && \
|
||||||
${SETENV} ${CONFIGURE_ENV} ${WRKDIR}/${DISTNAME}/configure)
|
${SETENV} ${CONFIGURE_ENV} ${PATCH_WRKSRC}/configure)
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${PROTO_BINDIR}/* ${PREFIX}/bin/
|
${INSTALL_PROGRAM} ${PROTO_BINDIR}/* ${PREFIX}/bin/
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (oss-v4.2-build2004-src-bsd.tar.bz2) = 77e7660af2745140712f6aaf90cc9ebab72e8ec1660a32f6b04fa4a57500c132
|
SHA256 (oss-v4.2-build2005-src-bsd.tar.bz2) = 1131771f40aa61cd73fe8f1e89f03030c4812769561b08f9859f409b6893f311
|
||||||
SIZE (oss-v4.2-build2004-src-bsd.tar.bz2) = 1669242
|
SIZE (oss-v4.2-build2005-src-bsd.tar.bz2) = 1669594
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
parms = "";
|
parms = "";
|
||||||
if (getenv ("OGG_SUPPORT") != NULL)
|
if (getenv ("OGG_SUPPORT") != NULL)
|
||||||
- parms = "-DOGG_SUPPORT";
|
- parms = "-DOGG_SUPPORT";
|
||||||
+ parms = "-DOGG_SUPPORT -I%%PREFIX%%/include";
|
+ parms = "-DOGG_SUPPORT -I%%LOCALBASE%%/include";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp (line, "project") == 0)
|
if (strcmp (line, "project") == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user