aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xmms-avi
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-06-04 22:43:38 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-06-04 22:43:38 +0000
commit93872f18cc0a948ab9c010bbe5694579bd59f8c4 (patch)
tree918c0e1660ed837a4087b57670a1b1c181c285e0 /multimedia/xmms-avi
parentd7568468f977aa272698f2ab9e7164f2a52b0ad5 (diff)
downloadports-93872f18cc0a948ab9c010bbe5694579bd59f8c4.tar.gz
ports-93872f18cc0a948ab9c010bbe5694579bd59f8c4.zip
Move inclusion of bsd.port.pre.mk later in the file for conditional BROKEN
tag. Early inclusion caused problems for some ports, so to be safe I'm updating all of them. Pointy hat to: kris
Notes
Notes: svn path=/head/; revision=82300
Diffstat (limited to 'multimedia/xmms-avi')
-rw-r--r--multimedia/xmms-avi/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/xmms-avi/Makefile b/multimedia/xmms-avi/Makefile
index 56ee89329b45..12659831e68f 100644
--- a/multimedia/xmms-avi/Makefile
+++ b/multimedia/xmms-avi/Makefile
@@ -20,12 +20,6 @@ BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS= aviplay.0:${PORTSDIR}/multimedia/avifile
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
ONLY_FOR_ARCHS= i386
@@ -36,6 +30,12 @@ USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not compile (bad C++ code)"
+.endif
+
pre-patch:
@${REINPLACE_CMD} -e "s|SDL/SDL.h|SDL11/SDL.h|g" ${WRKSRC}/src/ctrackbar.cpp
@${REINPLACE_CMD} -e "s|lc_r|pthread|g" ${WRKSRC}/configure