diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-01-05 19:44:02 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-01-05 19:44:02 +0000 |
commit | d095d4a96566a3ab095ab2e30430ce93a154f1a7 (patch) | |
tree | ca5cd97e4ad40da4b6e4a6c197453610fd6c69b1 /editors/glimmer | |
parent | c0a7a1f97264b914fa27603f8433b87b38b15f14 (diff) |
Notes
Diffstat (limited to 'editors/glimmer')
-rw-r--r-- | editors/glimmer/Makefile | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/editors/glimmer/Makefile b/editors/glimmer/Makefile index 877b738c8812..e8cafa47a282 100644 --- a/editors/glimmer/Makefile +++ b/editors/glimmer/Makefile @@ -26,26 +26,17 @@ USE_GNOME= gnomeprefix gnomehack gnomelibs gnomeprint gnomevfs \ USE_GETTEXT= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-regex +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I/usr/include/gnu" \ + LIBS="-L${LOCALBASE}/lib -lgnuregex" + .if exists(/usr/lib/libcrypto.a) PYTHON_LIBS= -lssl -lcrypto .endif PYTHON_LIBS+= -lutil -lreadline -lcrypt -lpython -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502104 -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I/usr/include/gnu" \ - LIBS="-L${LOCALBASE}/lib -lgnuregex" -.else -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D_REGEX_H_ -D_REGEX_H" \ - LIBS="-L${LOCALBASE}/lib -lgnuregex" -.endif - post-patch: @${REINPLACE_CMD} -e 's|-lpython|${PYTHON_LIBS}|g' ${WRKSRC}/configure -.if ${OSVERSION} >= 502104 @${REINPLACE_CMD} -e 's|gnuregex\.h|regex.h|' \ ${WRKSRC}/src/gtkextext/gtkextext.h -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |