summaryrefslogtreecommitdiffstats
path: root/audio/zinf
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2002-05-01 07:26:03 +0000
committerdemon <demon@FreeBSD.org>2002-05-01 07:26:03 +0000
commit769894b1e72479fec4addbac5b4a518ea38e9226 (patch)
treea55626414d6e19834b402a96095e60f9afd67ea1 /audio/zinf
parent9c7cf0ef1db735af649bc3087fbcf40dda016cb4 (diff)
downloadFreeBSD-ports-769894b1e72479fec4addbac5b4a518ea38e9226.zip
FreeBSD-ports-769894b1e72479fec4addbac5b4a518ea38e9226.tar.gz
Fix build on -current;
Fix detection of freetype library. PR: 36657 Submitted by: MAINTAINER
Diffstat (limited to 'audio/zinf')
-rw-r--r--audio/zinf/Makefile9
-rw-r--r--audio/zinf/files/patch-io-signature-src-signaturepmo.cpp10
-rw-r--r--audio/zinf/files/patch-io-wavout-src-waveoutpmo.cpp10
3 files changed, 28 insertions, 1 deletions
diff --git a/audio/zinf/Makefile b/audio/zinf/Makefile
index 1b39c43..483d35c 100644
--- a/audio/zinf/Makefile
+++ b/audio/zinf/Makefile
@@ -24,7 +24,8 @@ USE_GTK= yes
WANT_ESOUND= yes
USE_GMAKE= yes
USE_AUTOCONF_VER=213
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
+ -I${LOCALBASE}/include/freetype1" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
@@ -70,6 +71,12 @@ pre-everything::
@${ECHO_MSG} "WITH_ALL_PLUGINS=yes build with all plugins"
@${ECHO_MSG}
+# Stop a flood of complaints and PRs from people who can't be bothered
+# to keep their ports and packages up to date.
+pre-extract:
+ @test -d ${LOCALBASE}/include/freetype1/freetype && true \
+ || { echo '===> UPGRADE print/freetype TO CURRENT VERSION!';false; }
+
post-install:
@${MKDIR} ${PREFIX}/etc/sdr/plugins
${INSTALL_DATA} ${FILESDIR}/sdr2.plugin.S100.audio.rtp.mpa.freeamp \
diff --git a/audio/zinf/files/patch-io-signature-src-signaturepmo.cpp b/audio/zinf/files/patch-io-signature-src-signaturepmo.cpp
new file mode 100644
index 0000000..c16ea2f
--- /dev/null
+++ b/audio/zinf/files/patch-io-signature-src-signaturepmo.cpp
@@ -0,0 +1,10 @@
+--- ./io/signature/src/signaturepmo.cpp.orig Thu Oct 26 18:51:32 2000
++++ ./io/signature/src/signaturepmo.cpp Sun Apr 7 01:40:32 2002
+@@ -27,7 +27,6 @@
+ #endif
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+
+ /* project headers */
+ #include "config.h"
diff --git a/audio/zinf/files/patch-io-wavout-src-waveoutpmo.cpp b/audio/zinf/files/patch-io-wavout-src-waveoutpmo.cpp
new file mode 100644
index 0000000..75775fe
--- /dev/null
+++ b/audio/zinf/files/patch-io-wavout-src-waveoutpmo.cpp
@@ -0,0 +1,10 @@
+--- ./io/wavout/src/wavoutpmo.cpp.orig Tue Oct 16 01:23:08 2001
++++ ./io/wavout/src/wavoutpmo.cpp Sun Apr 7 01:40:28 2002
+@@ -28,7 +28,6 @@
+ #endif
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+
+ /* project headers */
+ #include "config.h"
OpenPOWER on IntegriCloud