Index: head/graphics/sharpconstruct/Makefile =================================================================== --- head/graphics/sharpconstruct/Makefile (revision 204947) +++ head/graphics/sharpconstruct/Makefile (revision 204948) @@ -1,38 +1,43 @@ # ports collection makefile for: sharpconstruct # Date created: 24 Feb 2006 # Whom: Dmitry Marakasov # # $FreeBSD$ # PORTNAME= sharpconstruct PORTVERSION= 0.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= SF MASTER_SITE_SUBDIR= sharp3d MAINTAINER= amdmi3@amdmi3.ru COMMENT= 3D modeller for organic shapes LIB_DEPENDS= gtkglextmm-x11-1.2.0:${PORTSDIR}/x11-toolkits/gtkglextmm \ glademm-2.4.1:${PORTSDIR}/devel/libglademm24 USE_BZIP2= yes USE_X_PREFIX= yes USE_GL= yes USE_GMAKE= yes GNU_CONFIGURE= yes MAN1= sharpconstruct.1 +.include + post-patch: +.if ${ARCH} != "i386" && ${ARCH} != "amd64" + @${REINPLACE_CMD} -e 's|-msse||' ${WRKSRC}/src/Makefile* +.endif @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/include/Align.hh @${REINPLACE_CMD} -e 's|"/sharpconstruct|"|' ${WRKSRC}/src/MainWindow.cc @${REINPLACE_CMD} -e 's|/usr/share/sharpconstruct|${DATADIR}|' ${WRKSRC}/src/MainWindow.cc @${REINPLACE_CMD} -e '/FileDialog/,/}/ d' ${WRKSRC}/src/MainWindow.cc @${REINPLACE_CMD} -e 's|memalign(b,c)|malloc(c)|' ${WRKSRC}/include/Align.hh @${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e '/^DEFS / s|$$| -DDATADIR=\\"${DATADIR}\\"|' -.include +.include Property changes on: head/graphics/sharpconstruct/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property