1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- Bump PORTREVISION to reflect /deve/bglibs update.

- Take maintainership.
This commit is contained in:
Marcelo Araujo 2017-03-26 04:56:04 +00:00
parent 88aacd02ec
commit c21170b0b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436935
3 changed files with 36 additions and 3 deletions

View File

@ -3,14 +3,16 @@
PORTNAME= qmail-qfilter
PORTVERSION= 2.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= araujo@FreeBSD.org
COMMENT= Front-end for qmail-queue to run messages through filters
LIB_DEPENDS= libbg-sysdeps.so:devel/bglibs
LICENSE= GPLv2
LIB_DEPENDS= libbg.so:devel/bglibs
BGLIBS_INC= ${LOCALBASE}/include/bglibs
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs

View File

@ -0,0 +1,20 @@
--- Makefile.orig 2005-08-12 23:40:51 UTC
+++ Makefile
@@ -19,7 +19,7 @@ compile: conf-cc conf-bgincs
echo '#!/bin/sh'; \
echo 'source=$$1; shift'; \
echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \
- echo exec `head -n 1 conf-cc` -I. "-I'$${bgincs}'" '-o $${base}.o -c $$source $${1+"$$@"}'; \
+ echo exec `head -n 1 conf-cc` -I. "-I'$${bgincs}'" "-I /usr/local/include/" '-o $${base}.o -c $$source $${1+"$$@"}'; \
) >compile
chmod 755 compile
@@ -37,7 +37,7 @@ load: conf-ld conf-bglibs
( bglibs=`head -n 1 conf-bglibs`; \
echo '#!/bin/sh';\
echo 'main="$$1"; shift';\
- echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \
+ echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" "-Wl,-R'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}'; \
) >load
chmod 755 load

View File

@ -0,0 +1,11 @@
--- qmail-qfilter.c.orig 2017-03-26 03:04:16 UTC
+++ qmail-qfilter.c
@@ -15,7 +15,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <sysdeps.h>
+#include <bglibs/sysdeps.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>