1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Respect X11BASE

PR:		ports/106056
Submitted by:	rafan
Approved by:	portmgr (linimon)
This commit is contained in:
Rong-En Fan 2006-12-06 13:48:40 +00:00
parent 55c9057e7a
commit 8f84e7e59a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179027

View File

@ -20,6 +20,8 @@ USE_XPM= yes
post-patch:
@${REINPLACE_CMD} -e 's|#include <values.h>||' ${WRKSRC}/wmBinClock.c
@${REINPLACE_CMD} -e 's|^CC.*=|CC ?=|' -e 's|^CFLAGS.*=|CFLAGS +=|' \
-e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmBinClock ${PREFIX}/bin