Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/libevent2/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- Makefile 25 Aug 2011 06:00:01 -0000 1.7 +++ Makefile 9 Sep 2011 17:11:40 -0000 @@ -7,6 +7,7 @@ PORTNAME= libevent2 DISTVERSION= 2.0.13 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://monkey.org/~provos/ DISTNAME= ${PORTNAME:S/2//}-${DISTVERSION}-stable @@ -19,6 +20,7 @@ USE_GNOME= lthack GNU_CONFIGURE= yes +CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" USE_LDCONFIG= ${PREFIX}/lib/event2 OPTIONS= OPENSSL "Enable OpenSSL support" on \ @@ -33,6 +35,8 @@ PLIST_SUB+= OPENSSL="@comment " .else USE_OPENSSL= yes +CPPFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} PLIST_SUB+= OPENSSL="" .endif