mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Fix configure script to work with clang
- Trim Makefile header Feature safe: yes
This commit is contained in:
parent
94f025643b
commit
dadb347f64
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307961
1 changed files with 2 additions and 6 deletions
|
@ -1,9 +1,5 @@
|
||||||
# New ports collection makefile for: flwm
|
# Created by: Dima Sivachenko <dima@chg.ru>
|
||||||
# Date created: 12 February 1999
|
|
||||||
# Whom: Dima Sivachenko <dima@chg.ru>
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= flwm
|
PORTNAME= flwm
|
||||||
PORTVERSION= 1.02
|
PORTVERSION= 1.02
|
||||||
|
@ -26,7 +22,7 @@ MAN1= flwm.1
|
||||||
PLIST_FILES= bin/flwm
|
PLIST_FILES= bin/flwm
|
||||||
|
|
||||||
post-patch:
|
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
|
${REINPLACE_CMD} -e 's|^LIBS =.*|LIBS = `fltk-config --ldflags`|' ${WRKSRC}/Makefile
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue