aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/linrad/Makefile5
-rw-r--r--comms/linrad/distinfo1
-rw-r--r--comms/linrad/files/patch-Makefile.in6
3 files changed, 8 insertions, 4 deletions
diff --git a/comms/linrad/Makefile b/comms/linrad/Makefile
index d5802d79937..b1c41df7270 100644
--- a/comms/linrad/Makefile
+++ b/comms/linrad/Makefile
@@ -26,8 +26,11 @@ HAS_CONFIGURE= yes
USE_BZIP2= yes
USE_REINPLACE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
post-patch:
- @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/configure.in
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+ ${WRKSRC}/configure.in ${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} -m04555 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
diff --git a/comms/linrad/distinfo b/comms/linrad/distinfo
index 904edfa16a7..55ff8a938a5 100644
--- a/comms/linrad/distinfo
+++ b/comms/linrad/distinfo
@@ -1,2 +1,3 @@
MD5 (linrad/lir01-20.tbz) = 34b6f5ef52adf8b9a8af444db43ddf70
+SHA256 (linrad/lir01-20.tbz) = b463cf28cf4aa462961025f1a6c6d23d4504e738e67dca0a018ca31e52fb8f12
SIZE (linrad/lir01-20.tbz) = 330472
diff --git a/comms/linrad/files/patch-Makefile.in b/comms/linrad/files/patch-Makefile.in
index 4f1f06aa1ee..99ba885668b 100644
--- a/comms/linrad/files/patch-Makefile.in
+++ b/comms/linrad/files/patch-Makefile.in
@@ -1,8 +1,8 @@
--- Makefile.in.orig Tue May 18 09:43:30 2004
-+++ Makefile.in Fri Jul 9 00:43:44 2004
++++ Makefile.in Sat Nov 12 11:41:30 2005
@@ -1,11 +1,14 @@
-+INCLUDE= /usr/local/include
-+LIBS= /usr/local/lib
++INCLUDE= %%LOCALBASE%%/include
++LIBS= %%LOCALBASE%%/lib
+
.c.o: