summaryrefslogtreecommitdiff
path: root/x11-toolkits/sdl_gui
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-04-04 20:12:05 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-04-04 20:12:05 +0000
commit8da4a27028597a19bafbd944e7d847f97e84c95a (patch)
tree29f1fa6ff372f57415a64864952a43ef601613fb /x11-toolkits/sdl_gui
parentUpdate to 1.13. (diff)
Add a hack to link with libstdc++. This will fix the configure error
of devel/eboxy on -current. PR: ports/50382 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Notes
Notes: svn path=/head/; revision=78203
Diffstat (limited to 'x11-toolkits/sdl_gui')
-rw-r--r--x11-toolkits/sdl_gui/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/sdl_gui/Makefile b/x11-toolkits/sdl_gui/Makefile
index 9e0dcf87684a..cf9ee7522177 100644
--- a/x11-toolkits/sdl_gui/Makefile
+++ b/x11-toolkits/sdl_gui/Makefile
@@ -21,8 +21,12 @@ LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \
SDL_ttf:${PORTSDIR}/graphics/sdl_ttf
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
+USE_REINPLACE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+post-configure:
+ ${REINPLACE_CMD} -e "s/^CC=\"cc\"/CC=\"${CXX}\"/" ${WRKSRC}/libtool
+
.include <bsd.port.mk>