blob: 40f715912c2914dcc7178bd131712ffc76c9d98d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: gnustep-make
# Date created: 17 April 2001
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gnustep-make
PORTVERSION= 1.12.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNUSTEP}
MASTER_SITE_SUBDIR= core
MAINTAINER= dinoex@FreeBSD.org
COMMENT= GNUstep makefile package
GNU_CONFIGURE= yes
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL} -c" INSTALL_DATA="${INSTALL} -c" \
CFLAGS="${CFLAGS}"
CONFIGURE_TARGET=
USE_GMAKE= yes
USE_GNUSTEP= yes
USE_GNUSTEP_PREFIX= yes
MAKEFILE=
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ARGS+= --with-thread-lib="${PTHREAD_LIBS}"
CONFIGURE_ARGS+= --with-config-file=${PREFIX}/GNUstep.conf
.if defined(GNUSTEP_WITH_BASE_GCC)
GNUSTEP_WITHOUT_LIBOBJC= yes
.endif
.include <bsd.port.pre.mk>
.if !defined(GNUSTEP_WITH_BASE_GCC)
pre-configure:
@if test ! -f "${TARGLIB}/libobjc.so"; then \
${ECHO_MSG} "libobjc.so not found, please update your gcc"; \
${FALSE}; \
fi; \
if test `${LDCONFIG} -r | ${GREP} "${TARGLIB}/libobjc.so" | wc -l` -eq 0; then \
${ECHO_MSG} "trying to fix ldconfig.hints"; \
${LDCONFIG} -f "${WRKDIR}/ldconfig.hints" -m "${TARGLIB}";\
if test `${LDCONFIG} -f "${WRKDIR}/ldconfig.hints" -r | ${GREP} "${TARGLIB}/libobjc.so" | wc -l` -eq 0; then \
${ECHO_MSG} "libobjc.so not in path"; \
${FALSE}; \
fi; \
fi;
.endif
post-install:
${LN} -s Library/Makefiles ${PREFIX}/System/
.include <bsd.port.post.mk>
|