mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Fix build without gcc.
This commit is contained in:
parent
5ebed607cc
commit
ea364e7f65
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363406
@ -25,12 +25,8 @@ DOCS= CONFIG CONTRIBUTORS FORM HISTORY TEMPLATE
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -6,10 +6,11 @@
|
||||
|
||||
-VDIR = /home/vpopmail
|
||||
+VDIR?= /home/vpopmail
|
||||
CC = gcc
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
BIN = vqregister
|
||||
-DEFS = -I$(VDIR)/include -I/usr/local/mysql/include
|
||||
+DEFS = -I$(VDIR)/include -I${LOCALBASE}/include/mysql
|
||||
+DEFS = -I$(VDIR)/include -I${LOCALBASE}/include/mysql ${CFLAGS}
|
||||
LINKDEFS =
|
||||
-LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/local/mysql/lib/mysql -lmysqlclient
|
||||
+LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L${LOCALBASE}/lib/mysql -lmysqlclient
|
||||
|
Loading…
Reference in New Issue
Block a user