483a696233
gnustep-base doesn't need to install the compatibility layer anymore, which requires a major lib bump. Bump revision of all dependent packages, and remove double REVISION in webservices OK landry@
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# $OpenBSD: gnustep.port.mk,v 1.17 2012/08/22 07:15:51 sebastia Exp $
|
|
|
|
# until tested on others
|
|
ONLY_FOR_ARCHS = i386 amd64 macppc
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
CATEGORIES += x11/gnustep
|
|
|
|
USE_GMAKE ?= Yes
|
|
MAKE_FILE ?= GNUmakefile
|
|
|
|
BUILD_DEPENDS += x11/gnustep/make>=2.6.0
|
|
MODGNUSTEP_RUN_DEPENDS += x11/gnustep/make>=2.6.0
|
|
|
|
MAKE_FLAGS += CC="${CC}" CPP="${CC} -E" OPTFLAG="${CFLAGS}"
|
|
|
|
MAKE_ENV += GNUSTEP_MAKEFILES=`gnustep-config --variable=GNUSTEP_MAKEFILES`
|
|
MAKE_ENV += INSTALL_AS_USER=${BINOWN}
|
|
MAKE_ENV += INSTALL_AS_GROUP=${BINGRP}
|
|
MAKE_ENV += GS_DEFAULTS_LOCKDIR=${WRKDIR}
|
|
|
|
MODGNUSTEP_NEEDS_BASE ?= Yes
|
|
MODGNUSTEP_NEEDS_GUI ?= Yes
|
|
MODGNUSTEP_NEEDS_BACK ?= Yes
|
|
|
|
.if ${MODGNUSTEP_NEEDS_GUI:L} == yes
|
|
MODGNUSTEP_WANTLIB += objc2 gnustep-base gnustep-gui
|
|
MODGNUSTEP_LIB_DEPENDS += x11/gnustep/gui
|
|
. if ${MODGNUSTEP_NEEDS_BACK:L} == yes
|
|
MODGNUSTEP_RUN_DEPENDS += x11/gnustep/back
|
|
. endif
|
|
.endif
|
|
.if ${MODGNUSTEP_NEEDS_BASE:L} == yes
|
|
MODGNUSTEP_LIB_DEPENDS += x11/gnustep/base
|
|
.endif
|
|
|
|
WANTLIB += ${MODGNUSTEP_WANTLIB}
|
|
LIB_DEPENDS += ${MODGNUSTEP_LIB_DEPENDS}
|
|
RUN_DEPENDS += ${MODGNUSTEP_RUN_DEPENDS}
|
|
|
|
MAKE_ENV += messages=yes
|
|
|
|
.ifdef DEBUG
|
|
CONFIGURE_ARGS += --enable-debug --disable-strip
|
|
MAKE_ENV += debug=yes strip=no
|
|
.else
|
|
CONFIGURE_ARGS += --disable-debug --enable-strip
|
|
MAKE_ENV += debug=no strip=yes
|
|
.endif
|
|
|
|
MASTER_SITE_GNUSTEP = ftp://ftp.gnustep.org/pub/gnustep/
|