diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-30 06:47:44 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-30 06:47:44 +0800 |
commit | 15c9bbe9ec7cc309fb27bdda4a3b12027b98e347 (patch) | |
tree | 9aa47a06399abc3de616c5e85b65085638520ae7 /mail | |
parent | 859f972081b6414c6d0614b49baf4fede8346279 (diff) | |
download | freebsd-ports-gnome-15c9bbe9ec7cc309fb27bdda4a3b12027b98e347.tar.gz freebsd-ports-gnome-15c9bbe9ec7cc309fb27bdda4a3b12027b98e347.tar.zst freebsd-ports-gnome-15c9bbe9ec7cc309fb27bdda4a3b12027b98e347.zip |
Fix build without gcc.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/vqregister/Makefile | 8 | ||||
-rw-r--r-- | mail/vqregister/files/patch-Makefile | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/mail/vqregister/Makefile b/mail/vqregister/Makefile index 0973f072246c..657ea672d898 100644 --- a/mail/vqregister/Makefile +++ b/mail/vqregister/Makefile @@ -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> diff --git a/mail/vqregister/files/patch-Makefile b/mail/vqregister/files/patch-Makefile index 5c0e82cdc6a1..733117424fbc 100644 --- a/mail/vqregister/files/patch-Makefile +++ b/mail/vqregister/files/patch-Makefile @@ -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 |