summaryrefslogtreecommitdiff
path: root/audio/denemo
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-10-18 07:22:32 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-10-18 07:22:32 +0000
commit7ef3c871a55186d1e6304663cc039119488b7fd9 (patch)
tree48800492e4d0f33aaa13a84d4da42494bcea16ff /audio/denemo
parent- Unbroke build after recent plugin API change in gedit. (diff)
Unbreak for FreeBSD 5.X by renaming denemo's setkey() which conflicts
with the one in the FreeSec cipher library. PR: 58161 Submitted by: Samy Al Bahra of kerneled.com
Notes
Notes: svn path=/head/; revision=91549
Diffstat (limited to 'audio/denemo')
-rw-r--r--audio/denemo/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/audio/denemo/Makefile b/audio/denemo/Makefile
index 7bb30f3e14fc..2afcfa77d7f7 100644
--- a/audio/denemo/Makefile
+++ b/audio/denemo/Makefile
@@ -27,17 +27,12 @@ DOCDIR= share/doc/${PORTNAME}
USE_GNOME= gtk12
USE_X_PREFIX= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile"
-.endif
-
pre-patch:
-.for ii in analysis_highlighting.c main.c playback.c print.c
+.for ii in analysis_highlighting.c easylyparser.c easylyparser.y \
+ lyparserfuncs.c lyparserfuncs.h main.c playback.c print.c
${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig
- ${SED} -e "s:<wait.h:<sys/wait.h:g" < ${WRKSRC}/${ii}.orig \
- > ${WRKSRC}/${ii}
+ ${SED} -e "s:<wait.h:<sys/wait.h:g ; s:setkey:dsetkey:g" \
+ < ${WRKSRC}/${ii}.orig > ${WRKSRC}/${ii}
.endfor
pre-install:
@@ -64,4 +59,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>