ports/160078: Update port: audio/libworkman
KATO Tsuguru
tkato432 at yahoo.com
Wed Aug 24 18:50:14 UTC 2011
>Number: 160078
>Category: ports
>Synopsis: Update port: audio/libworkman
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 24 18:50:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix build
- Add LICENSE
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/audio/libworkman/Makefile audio/libworkman/Makefile
--- /usr/ports/audio/libworkman/Makefile 2011-03-01 19:44:40.000000000 +0900
+++ audio/libworkman/Makefile 2011-08-24 23:59:10.000000000 +0900
@@ -16,7 +16,8 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= Workman library required by some audio apps
-BROKEN= does not build
+LICENSE= LGPL20
+LICENSE_FILE= ${WRKSRC}/COPYING.LIB
WRKSRC= ${WRKDIR}/libworkman
USE_IMAKE= yes
@@ -24,8 +25,9 @@
CFLAGS+= -fPIC
post-patch:
- @${CP} ${WRKSRC}/Config ${WRKSRC}/Config.orig;
- @${SED} -e 's^/usr/local/^${PREFIX}/^g' \
- ${WRKSRC}/Config.orig > ${WRKSRC}/Config
+ @${REINPLACE_CMD} -e \
+ 's|^DESTDIR|XCOMM DESTDIR| ; \
+ s|=include/workman|=$$(INCROOT)/workman| ; \
+ s|^LIBDIR|XCOMM LIBDIR|' ${WRKSRC}/Config
.include <bsd.port.mk>
diff -urN /usr/ports/audio/libworkman/files/patch-ab audio/libworkman/files/patch-ab
--- /usr/ports/audio/libworkman/files/patch-ab 1999-08-13 15:06:30.000000000 +0900
+++ audio/libworkman/files/patch-ab 2011-08-23 13:41:57.000000000 +0900
@@ -1,5 +1,5 @@
---- Imakefile.orig Sun May 30 01:48:17 1999
-+++ Imakefile Sun Aug 8 21:09:06 1999
+--- Imakefile.orig 1999-05-30 00:48:17.000000000 +0900
++++ Imakefile 2011-08-23 13:40:41.000000000 +0900
@@ -31,7 +31,7 @@
#include "include/wm_version.h"
@@ -17,3 +17,12 @@
include/wm_cdinfo.h \
include/wm_cdrom.h \
include/wm_config.h \
+@@ -65,7 +66,7 @@
+
+ #ifdef SHARED_LIBWORKMAN
+ SharedLibraryTarget(workman,$(WM_LIBVER),$(OBJS),.,.)
+-InstallSharedLibrary(workman,$(WM_LIBVER),$(LIBDIR))
++InstallSharedLibrary(workman,$(WM_LIBVER),$(USRLIBDIR))
+ #else
+ NormalLibraryTarget(workman, $(OBJS))
+ #endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list