diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-03-11 14:12:14 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-03-11 14:12:14 +0000 |
commit | eb8c0d9b2f7fae6d4c5f26d1251d2526eb2fbf16 (patch) | |
tree | fd6fd74a2112911cd7b7c2b1c0e4008f4a194d10 /mail/freepops | |
parent | 032fc7a937a99728fd73f642950e45fb59ea55e5 (diff) | |
download | ports-eb8c0d9b2f7fae6d4c5f26d1251d2526eb2fbf16.tar.gz ports-eb8c0d9b2f7fae6d4c5f26d1251d2526eb2fbf16.zip |
Notes
Diffstat (limited to 'mail/freepops')
-rw-r--r-- | mail/freepops/Makefile | 7 | ||||
-rw-r--r-- | mail/freepops/distinfo | 4 | ||||
-rw-r--r-- | mail/freepops/files/patch-modules::src::luafull::Makefile | 19 | ||||
-rw-r--r-- | mail/freepops/files/patch-src::Makefile | 29 |
4 files changed, 55 insertions, 4 deletions
diff --git a/mail/freepops/Makefile b/mail/freepops/Makefile index 8af62e72ec91..71dfe11179ae 100644 --- a/mail/freepops/Makefile +++ b/mail/freepops/Makefile @@ -6,7 +6,7 @@ # PORTNAME= freepops -PORTVERSION= 0.0.25 +PORTVERSION= 0.0.26 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= freepops @@ -24,9 +24,12 @@ HAS_CONFIGURE= yes USE_REINPLACE= yes CONFIGURE_SCRIPT= configure.sh CONFIGURE_ARGS= fbsd +MAKE_ARGS= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" pre-configure: - @${REINPLACE_CMD} -e "s|^WHERE=\/usr\/local\/|WHERE=${PREFIX}\/|g" ${WRKSRC}/${CONFIGURE_SCRIPT} + @${REINPLACE_CMD} -e "s|^WHERE=\/usr\/local\/|WHERE=${PREFIX}\/|g" \ + ${WRKSRC}/${CONFIGURE_SCRIPT} post-install: .if !defined(BATCH) diff --git a/mail/freepops/distinfo b/mail/freepops/distinfo index 78d091fa099b..234510456e7d 100644 --- a/mail/freepops/distinfo +++ b/mail/freepops/distinfo @@ -1,2 +1,2 @@ -MD5 (freepops-0.0.25.tar.gz) = a95c1b2eb00707e97f250c81ab381ca4 -SIZE (freepops-0.0.25.tar.gz) = 1851032 +MD5 (freepops-0.0.26.tar.gz) = 03fdaed5dd6401608583f3e3785600cb +SIZE (freepops-0.0.26.tar.gz) = 1851909 diff --git a/mail/freepops/files/patch-modules::src::luafull::Makefile b/mail/freepops/files/patch-modules::src::luafull::Makefile new file mode 100644 index 000000000000..ee968e167c89 --- /dev/null +++ b/mail/freepops/files/patch-modules::src::luafull::Makefile @@ -0,0 +1,19 @@ +--- modules/src/luafull/Makefile.orig Thu Nov 25 15:03:03 2004 ++++ modules/src/luafull/Makefile Fri Mar 11 14:43:58 2005 +@@ -5,14 +5,14 @@ + CFLAGS += -I$(PREFIX)/include -I. \ + -DUSE_DLOPEN=1 + else +-CFLAGS += -I$(PREFIX)/include -I. -DUSE_POPEN=1 \ ++CFLAGS += -I$(PREFIX)/include -I. -DUSE_POPEN=1 $(PTHREAD_CFLAGS) \ + -DUSE_DLOPEN=1 -DUSE_READLINE=1 -DLUA_USERCONFIG=\"saconfig.c\" + endif + + + LDFLAGS += -L$(PREFIX)/lib + ifeq "$(OS)" "FreeBSD" +- LDFLAGS+= -llua -llualib -lm ++ LDFLAGS+= $(PTHREAD_LIBS) -llua -llualib -lm + else + ifeq "$(OS)" "OpenBSD" + LDFLAGS+= -llua -llualib -lm diff --git a/mail/freepops/files/patch-src::Makefile b/mail/freepops/files/patch-src::Makefile new file mode 100644 index 000000000000..8e31925e8c53 --- /dev/null +++ b/mail/freepops/files/patch-src::Makefile @@ -0,0 +1,29 @@ +--- src/Makefile.orig Tue Nov 16 17:31:31 2004 ++++ src/Makefile Fri Mar 11 15:02:48 2005 +@@ -41,11 +41,17 @@ + CFLAGS+= -DFREEPOPSLUA_PATH_UNOFFICIAL=\"$HOME/config/settings/freepops/lua_unofficial/\" + + else ++ifeq "$(OS)" "FreeBSD" ++ CFLAGS+= -DFREEPOPSLUA_PATH=\"$HOME/config/settings/freepops/lua/\" ++ CFLAGS+= -DFREEPOPSLUA_PATH_UNOFFICIAL=\"$HOME/config/settings/freepops/lua_unofficial/\" ++ CFLAGS+= $(PTHREAD_CFLAGS) ++else + CFLAGS+= -DFREEPOPSLUA_PATH=\"$(PREFIX)share/freepops/lua/\" + CFLAGS+= -DFREEPOPSLUA_PATH_UNOFFICIAL=\"$(PREFIX)share/freepops/lua_unofficial/\" + endif + endif + endif ++endif + + ifeq "$(OS)" "Cygwin" + CFLAGS+= -I/usr/include +@@ -132,7 +138,7 @@ + else + ifeq "$(OS)" "FreeBSD" + LIBSTOLINK+= getopt +- LDFLAGS+=-L../modules/lib $(addprefix -l,$(LIBSTOLINK)) -lm -pthread \ ++ LDFLAGS+=-L../modules/lib $(addprefix -l,$(LIBSTOLINK)) -lm $(PTHREAD_LIBS) \ + $(CURL_LD_FLAGS) $(EXPAT_LD_FLAGS) + else + ifeq "$(OS)" "Cygwin" |