mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Fix build
- Add LICENSE PR: 160078 Submitted by: Ports Fury
This commit is contained in:
parent
31be4402ff
commit
ad19220c0e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280443
@ -16,7 +16,8 @@ DISTNAME= ${PORTNAME}-1999-06-20
|
||||
MAINTAINER= ports@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 @@ USE_LDCONFIG= yes
|
||||
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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user