mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Fix build on 10+ by respecting CC
- Convert simple patch to REINPLACE_CMD - Support staging
This commit is contained in:
parent
68e0c8cc08
commit
6c971867a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337793
@ -21,19 +21,16 @@ CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
WRKSRC= ${WRKDIR}/TleenX2-${PORTVERSION}
|
||||
|
||||
MAN1= tleenx2.1
|
||||
PORTDOCS= README gg.txt sms.txt
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/src/Makefile.in
|
||||
@${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},g; s,gcc,${CC},' \
|
||||
${WRKSRC}/iksemel/Makefile
|
||||
@${REINPLACE_CMD} 's,gcc,${CC},' ${WRKSRC}/jabby/Makefile
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- iksemel/Makefile.orig Tue Sep 2 18:05:32 2003
|
||||
+++ iksemel/Makefile Tue Dec 6 09:23:41 2005
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
CC = gcc
|
||||
-CFLAGS = -g -Wall -L/usr/local/lib -I/usr/local/include
|
||||
+CFLAGS = -Wall -L$(LOCALBASE)/lib -I$(LOCALBASE)/include
|
||||
OBJS = convert.o iks.o ikspool.o jabber.o sha.o core.o iksid.o io.o parser.o \
|
||||
utility.o
|
||||
all: $(OBJS)
|
@ -1,4 +1,5 @@
|
||||
bin/tleenx2
|
||||
man/man1/tleenx2.1.gz
|
||||
%%DATADIR%%/pixmaps/archiwum.png
|
||||
%%DATADIR%%/pixmaps/away.png
|
||||
%%DATADIR%%/pixmaps/beback.png
|
||||
|
Loading…
Reference in New Issue
Block a user