aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/flwm
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2012-11-29 20:45:01 +0800
committergahr <gahr@FreeBSD.org>2012-11-29 20:45:01 +0800
commit68d61f9b835e3ae5b678ac28605e1412154a0945 (patch)
treeaca1ceca1216327141e8e8e408d6797f6702a8d7 /x11-wm/flwm
parent306d5648bed4f28b6ba377a029c25b54f07dae5a (diff)
downloadfreebsd-ports-gnome-68d61f9b835e3ae5b678ac28605e1412154a0945.tar.gz
freebsd-ports-gnome-68d61f9b835e3ae5b678ac28605e1412154a0945.tar.zst
freebsd-ports-gnome-68d61f9b835e3ae5b678ac28605e1412154a0945.zip
- Fix configure script to work with clang
- Trim Makefile header Feature safe: yes
Diffstat (limited to 'x11-wm/flwm')
-rw-r--r--x11-wm/flwm/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/x11-wm/flwm/Makefile b/x11-wm/flwm/Makefile
index 2ad6016b91e3..e01910960393 100644
--- a/x11-wm/flwm/Makefile
+++ b/x11-wm/flwm/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: flwm
-# Date created: 12 February 1999
-# Whom: Dima Sivachenko <dima@chg.ru>
-#
+# Created by: Dima Sivachenko <dima@chg.ru>
# $FreeBSD$
-#
PORTNAME= flwm
PORTVERSION= 1.02
@@ -26,7 +22,7 @@ MAN1= flwm.1
PLIST_FILES= bin/flwm
post-patch:
- ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; /^main/s|^|int |g' ${WRKSRC}/${CONFIGURE_SCRIPT}
${REINPLACE_CMD} -e 's|^LIBS =.*|LIBS = `fltk-config --ldflags`|' ${WRKSRC}/Makefile
.include <bsd.port.mk>