aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-22 06:03:40 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-22 06:03:40 +0000
commit5e457c68d7a681e689cb353910398912e79157fe (patch)
tree9256eda06dea799932d7d5bc16861a3502683a52 /graphics
parent529cb4a7eab7cda03d277cc000121d8be592426c (diff)
downloadports-5e457c68d7a681e689cb353910398912e79157fe.tar.gz
ports-5e457c68d7a681e689cb353910398912e79157fe.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/multivideo/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/graphics/multivideo/Makefile b/graphics/multivideo/Makefile
index ac986ebbccb0..a846152300e5 100644
--- a/graphics/multivideo/Makefile
+++ b/graphics/multivideo/Makefile
@@ -14,12 +14,21 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= wx_gtk-2.2:${PORTSDIR}/x11-toolkits/wxgtk
+LIB_DEPENDS= wx_gtk-2.2.2:${PORTSDIR}/x11-toolkits/wxgtk
-USE_BZIP2= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_BZIP2= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
-ALL_TARGET= # empty
+MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
+ALL_TARGET= default
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|g++|\$$\(CXX)|g ; \
+ s|-O2 -g -Wall -W|\$$\(CXXFLAGS\)|g ; \
+ s|[(]CC[)]|\(CXX\)|g ; \
+ s|gcc|\$$\(CXX\)|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/multivideo ${PREFIX}/bin