Changeset View
Changeset View
Standalone View
Standalone View
head/x11/yelp/Makefile
Show All 25 Lines | |||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LDFLAGS+= -L${LOCALBASE}/lib -fstack-protector | LDFLAGS+= -L${LOCALBASE}/lib -fstack-protector | ||||
GLIB_SCHEMAS= org.gnome.yelp.gschema.xml | GLIB_SCHEMAS= org.gnome.yelp.gschema.xml | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
.include <bsd.port.pre.mk> | |||||
.if ${OSVERSION} >= 900012 || (${OSVERSION} >= 800505 && ${OSVERSION} < 900000) | |||||
CONFIGURE_ENV+= YELP_LZMA_CFLAGS="-I/usr/include" \ | CONFIGURE_ENV+= YELP_LZMA_CFLAGS="-I/usr/include" \ | ||||
YELP_LZMA_LIBS="-L/usr/lib -llzma" | YELP_LZMA_LIBS="-L/usr/lib -llzma" | ||||
.else | |||||
LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/xz | |||||
.endif | |||||
.include <bsd.port.post.mk> | .include <bsd.port.mk> |