1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/deskutils/gworkspace-gwmetadata/Makefile
David Chisnall f9197640d9 Fix configure options for gnustep-make
We were not setting the flag to select the GNUstep ABI, so were defaulting to
using the GCC-compatible version, which was likely to trigger a lot of subtle
bugs.  This was noticed when C++ exceptions thrown through Objective-C stack
frames caused segfaults.
2017-12-03 12:23:53 +00:00

39 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= gworkspace
PORTVERSION= 0.9.4
PORTREVISION= 1
CATEGORIES= deskutils gnustep
#MASTER_SITES= http://www.gnustep.it/enrico/gworkspace/
MASTER_SITES= GNUSTEP/usr-apps
PKGNAMESUFFIX= -gwmetadata${PKGNAMESUFFIX2}
MAINTAINER= theraven@FreeBSD.org
COMMENT= GWMetadata for GNUstep workspace manager
LICENSE= GPLv2
USES= gnustep sqlite
USE_GNUSTEP= back build
GNU_CONFIGURE= yes
LIB_DEPENDS= libDBKit.so:deskutils/gworkspace \
libPreferencePanes.so:deskutils/systempreferences
USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
LDFLAGS+= -lpthread
WRKSRC= ${WRKDIR}/gworkspace-${PORTVERSION}/GWMetadata
CONFIGURE_ARGS+= --with-sqlite-include=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-sqlite-library=${LOCALBASE}/lib
DEFAULT_LIBVERSION= 0.1.0
post-patch:
${CP} ${WRKSRC}/gmds/mdextractor/Extractors/JpegExtractor/GNUmakefile.in \
${WRKSRC}/gmds/mdextractor/Extractors/JpegExtractor/GNUmakefile
${CP} ${FILESDIR}/Preferences-GNUmakefile \
${WRKSRC}/Preferences/GNUmakefile
${CP} ${FILESDIR}/MDFinder-GNUmakefile \
${WRKSRC}/MDFinder/GNUmakefile
.include <bsd.port.mk>