diff options
author | jkim <jkim@FreeBSD.org> | 2011-08-25 08:35:42 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2011-08-25 08:35:42 +0800 |
commit | 35a4a5e6cc370fe346f8bb1030acac807534c9aa (patch) | |
tree | ab31608a35fb53199fa9e9f55c9adba93b31cd23 /audio/oss | |
parent | 0fed1c407ebdf5b5c22e1948af7c801334ae5188 (diff) | |
download | freebsd-ports-gnome-35a4a5e6cc370fe346f8bb1030acac807534c9aa.tar.gz freebsd-ports-gnome-35a4a5e6cc370fe346f8bb1030acac807534c9aa.tar.zst freebsd-ports-gnome-35a4a5e6cc370fe346f8bb1030acac807534c9aa.zip |
Update to 4.2 build 2005.
Diffstat (limited to 'audio/oss')
-rw-r--r-- | audio/oss/Makefile | 15 | ||||
-rw-r--r-- | audio/oss/distinfo | 4 | ||||
-rw-r--r-- | audio/oss/files/patch-setup-srcconf.c | 2 |
3 files changed, 11 insertions, 10 deletions
diff --git a/audio/oss/Makefile b/audio/oss/Makefile index 5bd72bf30736..7b9df56440e5 100644 --- a/audio/oss/Makefile +++ b/audio/oss/Makefile @@ -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/ diff --git a/audio/oss/distinfo b/audio/oss/distinfo index f8d9ad88f8f2..96b2f3656ed8 100644 --- a/audio/oss/distinfo +++ b/audio/oss/distinfo @@ -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 diff --git a/audio/oss/files/patch-setup-srcconf.c b/audio/oss/files/patch-setup-srcconf.c index ae52511a309b..cd377fddf595 100644 --- a/audio/oss/files/patch-setup-srcconf.c +++ b/audio/oss/files/patch-setup-srcconf.c @@ -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) |