diff options
author | arved <arved@FreeBSD.org> | 2003-10-02 17:29:47 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-10-02 17:29:47 +0000 |
commit | ab64ac998d83056590ee2ef4c5fc542dca48e0c8 (patch) | |
tree | 87c840f31550cc2357857d2327c5d27d4172aae7 /x11-toolkits | |
parent | dc3c395cc9c015923499a3e9c13a34444336042b (diff) | |
download | FreeBSD-ports-ab64ac998d83056590ee2ef4c5fc542dca48e0c8.zip FreeBSD-ports-ab64ac998d83056590ee2ef4c5fc542dca48e0c8.tar.gz |
Mark paragui broken for everything but i386 and amd64
portlint
Update pkg-descr
PR: 57332
Submitted by: Mark Linimon <linimon@lonesome.com>
USE_SDL while I am here
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/paragui-devel/Makefile | 17 | ||||
-rw-r--r-- | x11-toolkits/paragui-devel/pkg-descr | 2 | ||||
-rw-r--r-- | x11-toolkits/paragui/Makefile | 17 | ||||
-rw-r--r-- | x11-toolkits/paragui/pkg-descr | 2 |
4 files changed, 22 insertions, 16 deletions
diff --git a/x11-toolkits/paragui-devel/Makefile b/x11-toolkits/paragui-devel/Makefile index b7d8318..71a6ac5 100644 --- a/x11-toolkits/paragui-devel/Makefile +++ b/x11-toolkits/paragui-devel/Makefile @@ -16,35 +16,38 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform high-level application framework and GUI library LIB_DEPENDS= physfs-0.1.9:${PORTSDIR}/devel/physfs \ - SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ SDL_image.10:${PORTSDIR}/graphics/sdl_image \ SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \ expat.4:${PORTSDIR}/textproc/expat2 -SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config - USE_X_PREFIX= yes USE_REINPLACE= yes USE_LIBTOOL= yes +USE_SDL= yes LIBTOOLFLAGS= --disable-ltlibs --release-ignore -CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ - CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ +CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}" INSTALLS_SHLIB= yes SHLIB_VER= 4 PLIST_SUB= SHLIB_VER="${SHLIB_VER}" +.include <bsd.port.pre.mk> + +.if (${ARCH} != "amd64") && (${ARCH} != "i386") +BROKEN= "does not build on ${ARCH}" +.endif + post-extract: @${RM} -f ${WRKSRC}/src/physfs/platform.c post-patch: @${REINPLACE_CMD} -e 's|LT_CURRENT=.*$$|LT_CURRENT=${SHLIB_VER}|g ; \ s|`sdl-config |`\$$\{SDL_CONFIG\} |g' ${WRKSRC}/configure - + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|[$][(]SDL_CFLAGS[)]|\$\(PARAGUI_CFLAGS\)|g ; \ s|lib/pkgconfig|libdata/pkgconfig|g ; \ s|-L[./]*../src|&/.libs |g' -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-toolkits/paragui-devel/pkg-descr b/x11-toolkits/paragui-devel/pkg-descr index 0d2c457..a0800fdc 100644 --- a/x11-toolkits/paragui-devel/pkg-descr +++ b/x11-toolkits/paragui-devel/pkg-descr @@ -17,4 +17,4 @@ Highlights of the library: progressbars, windows ...) - create your own widgets (subclass an existing widget) -WWW: http://www.bms-austria.com/projects/paragui/ +WWW: http://savannah.nongnu.org/paragui/ diff --git a/x11-toolkits/paragui/Makefile b/x11-toolkits/paragui/Makefile index b7d8318..71a6ac5 100644 --- a/x11-toolkits/paragui/Makefile +++ b/x11-toolkits/paragui/Makefile @@ -16,35 +16,38 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform high-level application framework and GUI library LIB_DEPENDS= physfs-0.1.9:${PORTSDIR}/devel/physfs \ - SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ SDL_image.10:${PORTSDIR}/graphics/sdl_image \ SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \ expat.4:${PORTSDIR}/textproc/expat2 -SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config - USE_X_PREFIX= yes USE_REINPLACE= yes USE_LIBTOOL= yes +USE_SDL= yes LIBTOOLFLAGS= --disable-ltlibs --release-ignore -CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ - CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ +CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}" INSTALLS_SHLIB= yes SHLIB_VER= 4 PLIST_SUB= SHLIB_VER="${SHLIB_VER}" +.include <bsd.port.pre.mk> + +.if (${ARCH} != "amd64") && (${ARCH} != "i386") +BROKEN= "does not build on ${ARCH}" +.endif + post-extract: @${RM} -f ${WRKSRC}/src/physfs/platform.c post-patch: @${REINPLACE_CMD} -e 's|LT_CURRENT=.*$$|LT_CURRENT=${SHLIB_VER}|g ; \ s|`sdl-config |`\$$\{SDL_CONFIG\} |g' ${WRKSRC}/configure - + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|[$][(]SDL_CFLAGS[)]|\$\(PARAGUI_CFLAGS\)|g ; \ s|lib/pkgconfig|libdata/pkgconfig|g ; \ s|-L[./]*../src|&/.libs |g' -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-toolkits/paragui/pkg-descr b/x11-toolkits/paragui/pkg-descr index 0d2c457..a0800fdc 100644 --- a/x11-toolkits/paragui/pkg-descr +++ b/x11-toolkits/paragui/pkg-descr @@ -17,4 +17,4 @@ Highlights of the library: progressbars, windows ...) - create your own widgets (subclass an existing widget) -WWW: http://www.bms-austria.com/projects/paragui/ +WWW: http://savannah.nongnu.org/paragui/ |