aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2012-11-29 12:45:01 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2012-11-29 12:45:01 +0000
commitdadb347f64dbf9a863f53f0a5f5bd800bd8ec750 (patch)
treeaca1ceca1216327141e8e8e408d6797f6702a8d7 /x11-wm
parent94f025643b75f7eb3b1805cd77a8f9d3663f3c1a (diff)
Notes
Diffstat (limited to 'x11-wm')
-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>