aboutsummaryrefslogtreecommitdiffstats
path: root/editors/glimmer
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-01-06 03:44:02 +0800
committerpav <pav@FreeBSD.org>2009-01-06 03:44:02 +0800
commit72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e (patch)
treed1102c67d6d770e809475dae366f152130cb1883 /editors/glimmer
parent5ae596207dc0bd85ca28a43d715d82bc6b358b81 (diff)
downloadfreebsd-ports-gnome-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.tar.gz
freebsd-ports-gnome-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.tar.zst
freebsd-ports-gnome-72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e.zip
- Remove conditional checks for FreeBSD 5.x and older
Diffstat (limited to 'editors/glimmer')
-rw-r--r--editors/glimmer/Makefile17
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>